Interface GlobalData


public interface GlobalData
  • Method Details

    • publish

      void publish(String phase, String key, GlobalData.Element element)
      Offers an element for publishing. When the publishing phase terminates all elements with the same key are combined together (in arbitrary order) on the controller. The resulting element is then made available to phases started strictly after publishing phase. If there is already an existing element with this key present all remaining phases are cancelled and an error is reported.
      Parameters:
      phase -
      key - Identifier.
      element - Custom element.
    • read

      Retrieves the element created in one of strictly preceding phases.
      Parameters:
      key - Identifier.
      Returns:
      Custom element.