Class VolatileNodeDependencyProvider
java.lang.Object
de.aristaflow.adept2.core.changeoperations.NodeDependencyProvider
de.aristaflow.adept2.core.changeoperations.VolatileNodeDependencyProvider
- All Implemented Interfaces:
DependencyProvider
A dependency provider in the context of a template and a volatile node, i.e.
a node that doesn't exist in the template yet. E.g. when an activity is
drag & dropped onto a control edge, which will implicitly create a new node.
- Author:
- Patrick Schmidt
-
Field Summary
Fields inherited from class de.aristaflow.adept2.core.changeoperations.NodeDependencyProvider
injectedDependencies, node, template -
Constructor Summary
ConstructorsConstructorDescriptionVolatileNodeDependencyProvider(Template template, int succNodeID) Constructs a newVolatileNodeDependencyProviderfor the specified template and the/a node that will follow the node to be created. -
Method Summary
Modifier and TypeMethodDescriptiongetDependencyOf(String parameterName) Returns dependency-related information about the parameter with the specified name ornullif the parameter has currently no dependency bound to it or the parameter does not exist.Returns all already existing parameters.Methods inherited from class de.aristaflow.adept2.core.changeoperations.NodeDependencyProvider
getCompleteDataTypeOf, getDependencyTypeArguments, getDependencyTypeArguments, getDependencyTypes, getLabelForArgument, getLabelForType, getLabelForTypeAndArgument, getParameterBindings, getPreferredParameter, injectDependency, parameterExists, removeInjectedDependency
-
Constructor Details
-
VolatileNodeDependencyProvider
Constructs a newVolatileNodeDependencyProviderfor the specified template and the/a node that will follow the node to be created.- Parameters:
template- the templatesuccNodeID- node that will follow the node to be created
-
-
Method Details
-
getParameters
Description copied from interface:DependencyProviderReturns all already existing parameters. UseDependencyProvider.getDependencyOf(String)to retrieve dependency information about each parameter.- Specified by:
getParametersin interfaceDependencyProvider- Overrides:
getParametersin classNodeDependencyProvider- Returns:
- all already existing parameters
-
getDependencyOf
Description copied from interface:DependencyProviderReturns dependency-related information about the parameter with the specified name ornullif the parameter has currently no dependency bound to it or the parameter does not exist.- Specified by:
getDependencyOfin interfaceDependencyProvider- Overrides:
getDependencyOfin classNodeDependencyProvider- Parameters:
parameterName- the name of the parameter for which to return dependency-related information- Returns:
- dependency-related information for the specified parameter
-