public class LocalExecutionEnvironment extends AbstractExecutionEnvironment
Constructor and Description |
---|
LocalExecutionEnvironment(LocalExecutionService localExecutionService,
ActivityService activityService,
DispatchLayerService dispatchLayerService) |
Modifier and Type | Method and Description |
---|---|
boolean |
activityExists(URI uri)
Returns true iff an activity exists for the specified URI in this ExecutionEnvironment.
|
boolean |
dispatchLayerExists(URI uri)
Returns true iff a dispatch layer exists for the specified URI in this ExecutionEnvironment.
|
com.fasterxml.jackson.databind.JsonNode |
getActivityConfigurationSchema(URI uri)
Returns a JSON Schema for the configuration required by an activity.
|
Set<URI> |
getActivityTypes()
Returns the activity types available in this ExecutionEnvironment.
|
com.fasterxml.jackson.databind.JsonNode |
getDispatchLayerConfigurationSchema(URI uri)
Returns a JSON Schema for the configuration required by a dispatch layer.
|
Set<URI> |
getDispatchLayerTypes()
Returns the dispatch layer types available in this ExecutionEnvironment.
|
getDescription, getExecutionService, getID, getName, toString
public LocalExecutionEnvironment(LocalExecutionService localExecutionService, ActivityService activityService, DispatchLayerService dispatchLayerService)
public Set<URI> getActivityTypes()
ExecutionEnvironment
public boolean activityExists(URI uri)
ExecutionEnvironment
uri
- the activity URI to checkpublic com.fasterxml.jackson.databind.JsonNode getActivityConfigurationSchema(URI uri) throws ActivityNotFoundException, ActivityConfigurationException
ExecutionEnvironment
uri
- a URI that identifies an activityActivityNotFoundException
- if an activity cannot be found for the specified URIActivityConfigurationException
- if the ConfigurationDefinition cannot be createdpublic Set<URI> getDispatchLayerTypes()
ExecutionEnvironment
public boolean dispatchLayerExists(URI uri)
ExecutionEnvironment
uri
- the dispatch layer URI to checkpublic com.fasterxml.jackson.databind.JsonNode getDispatchLayerConfigurationSchema(URI uri) throws DispatchLayerNotFoundException, DispatchLayerConfigurationException
ExecutionEnvironment
uri
- a URI that identifies a dispatch layerDispatchLayerNotFoundException
- if a dispatch layer cannot be found for the specified URIDispatchLayerConfigurationException
- if the ConfigurationDefinition cannot be createdCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.