public interface ActivityFactory
Activity
instances.Modifier and Type | Method and Description |
---|---|
Activity<?> |
createActivity()
Creates a new
Activity instance. |
com.fasterxml.jackson.databind.JsonNode |
getActivityConfigurationSchema()
Returns the JSON Schema for the configuration required by the
Activity . |
URI |
getActivityType()
What type of
Activity s can this factory create? |
Set<ActivityInputPort> |
getInputPorts(com.fasterxml.jackson.databind.JsonNode configuration)
Returns the
ActivityInputPort s that the
Activity requires to be present in order to execute with the
specified configuration. |
Set<ActivityOutputPort> |
getOutputPorts(com.fasterxml.jackson.databind.JsonNode configuration)
Returns the
ActivityOutputPort s that the
Activity requires to be present in order to execute with the
specified configuration. |
Activity<?> createActivity()
Activity
instance.Activity
instanceURI getActivityType()
Activity
s can this factory create?Activity
s that this factory can
createcom.fasterxml.jackson.databind.JsonNode getActivityConfigurationSchema()
Activity
.Activity
Set<ActivityInputPort> getInputPorts(com.fasterxml.jackson.databind.JsonNode configuration) throws ActivityConfigurationException
ActivityInputPort
s that the
Activity
requires to be present in order to execute with the
specified configuration.
If the Activity
does not require any input port for the
configuration then an empty set is returned.
configuration
- the configurationActivityInputPort
s that the
Activity
requires to be present in order to executeActivityConfigurationException
Set<ActivityOutputPort> getOutputPorts(com.fasterxml.jackson.databind.JsonNode configuration) throws ActivityConfigurationException
ActivityOutputPort
s that the
Activity
requires to be present in order to execute with the
specified configuration.
If the Activity
does not require any output ports for the
configuration then an empty set is returned.
configuration
- the configurationActivityOutputPort
s that the
Activity
requires to be present in order to executeActivityConfigurationException
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.