Interface GlobalData


  • public interface GlobalData
    • Method Detail

      • publish

        void publish​(java.lang.String phase,
                     java.lang.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

        GlobalData.Element read​(java.lang.String key)
        Retrieves the element created in one of strictly preceding phases.
        Parameters:
        key - Identifier.
        Returns:
        Custom element.