Class Platform


  • public final class Platform
    extends java.lang.Object
    The Platform class encapsulates various bits of information about the system environment. It operates as a singleton, stores no state and uses ZooKeeper to save and obtain information. If an IllegalStateException is encountered while using this class, this indicates that EsbTestUtils.initializeEnvironment() or one of its extensions needs to be called first.
    • Field Detail

      • instance

        public static final Platform instance
    • Method Detail

      • getProjectCurator

        public org.apache.curator.framework.CuratorFramework getProjectCurator()
      • getProjectDataDirectory

        public java.lang.String getProjectDataDirectory()
      • setProjectName

        public void setProjectName​(java.lang.String projectName)
      • setProjectEnvironment

        public void setProjectEnvironment​(java.lang.String projectEnvironment)