Package org.intocps.maestro.interpreter
Interface ITransitionManager.ISpecificationProvider
-
- All Known Implementing Classes:
DirectorySpecificationProvider
- Enclosing interface:
- ITransitionManager
public static interface ITransitionManager.ISpecificationProviderA 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Path,org.intocps.maestro.ast.node.ARootDocument>get()Get possible specificationsMap<Path,org.intocps.maestro.ast.node.ARootDocument>get(String name)Get possible specificationsvoidremove(org.intocps.maestro.ast.node.ARootDocument specification)Removes a specification.
-
-
-
Method Detail
-
get
Map<Path,org.intocps.maestro.ast.node.ARootDocument> get()
Get possible specifications- Returns:
- a map of path of the specification to the specification
-
get
Map<Path,org.intocps.maestro.ast.node.ARootDocument> get(String name)
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
-
-