TaskActivityContext Interface

public interface TaskActivityContext

Interface that provides TaskActivity implementations with activity context, such as an activity's name and its input.

Method Summary

Modifier and Type Method and Description
abstract T getInput(Class<T> targetType)

Gets the deserialized activity input.

abstract java.lang.String getName()

Gets the name of the current task activity.

Method Details

getInput

public abstract T getInput(Class targetType)

Gets the deserialized activity input.

Parameters:

targetType - the Class object associated with T

Returns:

the deserialized activity input value

getName

public abstract String getName()

Gets the name of the current task activity.

Returns:

the name of the current task activity

Applies to