Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.annotations
Annotation Type Activities


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Activities


Optional Element Summary
 String activityNamePrefix
          Prefix to use for each activity defined within the interface annotated with @Activities annotation.
 Class<? extends DataConverter> dataConverter
          This is used to specify DataConverter type to use for serialization/de-serialization of activity method parameters and return types.
 String version
          Version to use to each activity defined within the interface annotated with @Activities annotation.
 

activityNamePrefix

public abstract String activityNamePrefix
Prefix to use for each activity defined within the interface annotated with @Activities annotation. Default is empty string which means that name of interface should be used as the prefix for each activity name.

Default:
""

version

public abstract String version
Version to use to each activity defined within the interface annotated with @Activities annotation. Default is empty string which means that version should be specified using Activity.version() on every method individually. Alternatively you can specify the version for all activities defined within the interface using this attribute. AWS Flow Framework annotation processor will report an error if version for an activity is not specified through version() or Activity.version().

Default:
""

dataConverter

public abstract Class<? extends DataConverter> dataConverter
This is used to specify DataConverter type to use for serialization/de-serialization of activity method parameters and return types. Default is NullDataConverter which means to use the default DataConverter used by framework. Default DataConverter used by framework is JsonDataConverter.

Default:
com.amazonaws.services.simpleworkflow.flow.annotations.NullDataConverter.class


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.