Did this page help you?

   Yes   No   Tell us about it...

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


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Activity

Optional annotation used on activity methods to override the name and version.

See Also:
Activities

Optional Element Summary
 String name
          This is used to override the name of ActivityType.
 String version
          This is used to override the version of ActivityType.
 

name

public abstract String name
This is used to override the name of ActivityType. Default is empty string which means to use the method name.

Default:
""

version

public abstract String version
This is used to override the version of ActivityType. Default is empty string which means to use the version specified on Activities annotation for the interface. If Activities.version() is also empty string then AWS Flow Framework annotation processor reports an error.

Default:
""


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