public interface ActivityInputPort extends InputPort, ActivityPort
Modifier and Type | Method and Description |
---|---|
boolean |
allowsLiteralValues()
Literal values are a special case as they are not represented by
reference schemes - in rare cases activities may choose to deny literal
values, forcing *all* their inputs to be in a particular reference
scheme.
|
List<Class<? extends ExternalReferenceSPI>> |
getHandledReferenceSchemes()
Declares that the DataDocument instances fed as input data (either
directly or as elements of a collection) to this input port must contain
at least one of the specified ReferenceScheme types.
|
Class<?> |
getTranslatedElementClass()
The Java object type desired when the input data reference is converted
to an object.
|
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
List<Class<? extends ExternalReferenceSPI>> getHandledReferenceSchemes()
boolean allowsLiteralValues()
Class<?> getTranslatedElementClass()
Note that this is not intended to allow activities to consume arbitrary java classes, activities such as the API consumer should handle this through the reference scheme mechanism backed by an appropriate store (most likely an in-memory hash of active objects)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.