Modifier and Type | Optional Element and Description |
---|---|
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.
|
public abstract String activityNamePrefix
public abstract String version
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()
.public abstract Class<? extends DataConverter> dataConverter
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
.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.