ConfigurationType
- the ConfigurationType associated with the Activity. This is an
arbitrary java class that provides details on how the Activity is
configured..public interface Activity<ConfigurationType> extends Annotated<Activity<?>>, Configurable<ConfigurationType>
Modifier and Type | Method and Description |
---|---|
void |
configure(ConfigurationType conf)
When the item is built from the workflow definition XML the object is
first constructed with a default constructor then this method is called,
passing in the configuration bean returned by getConfiguration().
|
Map<String,String> |
getInputPortMapping()
A processor may have different input port names to the activity or
activities it contains.
|
Set<ActivityInputPort> |
getInputPorts()
An Activity contains a set of named input ports.
|
Map<String,String> |
getOutputPortMapping()
Outputs of the activity may be named differently to those of the
processor.
|
Set<ActivityOutputPort> |
getOutputPorts()
An Activity contains a set of named output ports.
|
void |
setEdits(Edits edits) |
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
getConfiguration
@HierarchyTraversal(hierarchies="workflowStructure", role=CHILD) Set<ActivityInputPort> getInputPorts()
Map<String,String> getInputPortMapping()
@HierarchyTraversal(hierarchies="workflowStructure", role=CHILD) Set<ActivityOutputPort> getOutputPorts()
Map<String,String> getOutputPortMapping()
void configure(ConfigurationType conf) throws ActivityConfigurationException
Configurable
configure
in interface Configurable<ConfigurationType>
ActivityConfigurationException
void setEdits(Edits edits)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.