public interface ServiceRegistry
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
getActivityConfigurationSchema(URI activityType)
Returns the JSON Schema for the configuration required by an activity.
|
Set<InputActivityPort> |
getActivityInputPorts(URI activityType,
com.fasterxml.jackson.databind.JsonNode configuration)
Returns the input ports that the activity type requires to be present in order to execute
with the specified configuration.
|
Set<OutputActivityPort> |
getActivityOutputPorts(URI activityType,
com.fasterxml.jackson.databind.JsonNode configuration)
Returns the output ports that the activity type requires to be present in order to execute
with the specified configuration.
|
Set<URI> |
getActivityTypes()
Returns the activity types in the registry.
|
Set<URI> getActivityTypes()
com.fasterxml.jackson.databind.JsonNode getActivityConfigurationSchema(URI activityType) throws InvalidConfigurationException, ActivityTypeNotFoundException
activityType
- the activity typeActivityTypeNotFoundException
- if the activity type is not in the registryInvalidConfigurationException
Set<InputActivityPort> getActivityInputPorts(URI activityType, com.fasterxml.jackson.databind.JsonNode configuration) throws InvalidConfigurationException, ActivityTypeNotFoundException
If the activity does not require any input port for the configuration then an empty set is returned.
configuration
- the activity configurationActivityTypeNotFoundException
- if the activity type is not in the registryInvalidConfigurationException
Set<OutputActivityPort> getActivityOutputPorts(URI activityType, com.fasterxml.jackson.databind.JsonNode configuration) throws InvalidConfigurationException, ActivityTypeNotFoundException
If the activity type does not require any output ports for the configuration then an empty set is returned.
configuration
- the activity configurationActivityTypeNotFoundException
- if the activity type is not in the registryInvalidConfigurationException
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.