public abstract class ActivityImplementationBase extends ActivityImplementation
#execute(Map, ActivityExecutionContext)
method.ActivityWorker
Constructor and Description |
---|
ActivityImplementationBase() |
Modifier and Type | Method and Description |
---|---|
String |
execute(ActivityExecutionContext context)
Execute external activity or initiate its execution if
#isManualActivityCompletion() is true . |
ActivityTypeExecutionOptions |
getExecutionOptions() |
ActivityTypeRegistrationOptions |
getRegistrationOptions()
By default do not register
|
public String execute(ActivityExecutionContext context) throws ActivityFailureException, CancellationException
ActivityImplementation
#isManualActivityCompletion()
is true
.execute
in class ActivityImplementation
#isManualActivityCompletion()
is set
to false. Use
ActivityWorker#respondActivityTaskCompleted(String, Map)
to return result in asynchronous case.ActivityFailureException
CancellationException
ActivityImplementation.execute(ActivityExecutionContext)
public ActivityTypeExecutionOptions getExecutionOptions()
getExecutionOptions
in class ActivityImplementation
public ActivityTypeRegistrationOptions getRegistrationOptions()
getRegistrationOptions
in class ActivityImplementation
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.