Package org.intocps.maestro.interpreter
Interface ITransitionManager.ISpecificationProvider
- All Known Implementing Classes:
DirectorySpecificationProvider
- Enclosing interface:
ITransitionManager
public static interface ITransitionManager.ISpecificationProvider
A specification provider. This is responsible for providing specifications that one can transfer to. It must return the same object for the
same discovered specification if called twice, and if a specification is removed then it must never be returned again.
-
Method Details
-
get
Get possible specifications- Returns:
- a map of path of the specification to the specification
-
get
Get possible specifications- Parameters:
name- a name used as a discovery filter- Returns:
- a map of path of the specification to the specification
-
remove
void remove(org.intocps.maestro.ast.node.ARootDocument specification) Removes a specification. After this it must not be returned by eitherget()orget(String)- Parameters:
specification- the specification to remove
-