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 Summary

    Modifier and Type
    Method
    Description
    Map<Path,org.intocps.maestro.ast.node.ARootDocument>
    get()
    Get possible specifications
    Map<Path,org.intocps.maestro.ast.node.ARootDocument>
    get(String name)
    Get possible specifications
    void
    remove(org.intocps.maestro.ast.node.ARootDocument specification)
    Removes a specification.
  • Method Details

    • 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 either get() or get(String)
      Parameters:
      specification - the specification to remove