Interface Environment

  • All Known Implementing Classes:
    AbstractEnvironment

    public interface Environment
    Instance holding information about the console and its environment.
    • Method Detail

      • getName

        String getName()
        Returns:
        the name.
      • setName

        void setName​(String name)
      • getOrganization

        String getOrganization()
        Returns:
        the organization.
      • setOrganization

        void setOrganization​(String organization)
      • getHalVersion

        Version getHalVersion()
        Returns:
        the HAL version.
      • getHalBuild

        Build getHalBuild()
      • getInstanceInfo

        InstanceInfo getInstanceInfo()
        Returns:
        information about the server instance.
      • setInstanceInfo

        void setInstanceInfo​(String productName,
                             String productVersion,
                             String releaseName,
                             String releaseVersion)
      • isStandalone

        boolean isStandalone()
        Returns:
        true for standalone mode, false otherwise.
      • setOperationMode

        void setOperationMode​(OperationMode operationMode)
      • isPrimarySecondary

        boolean isPrimarySecondary()
        Returns:
        whether the naming in domain mode uses primary/secondary or master/slave.
      • setPrimarySecondary

        void setPrimarySecondary​(boolean primarySecondary)
      • getDomainController

        String getDomainController()
        Returns:
        the name of the domain controller (DC).
      • setDomainController

        void setDomainController​(String domainController)
      • getManagementVersion

        Version getManagementVersion()
        Returns:
        the management model version.
      • setManagementVersion

        void setManagementVersion​(Version version)
      • setAccessControlProvider

        void setAccessControlProvider​(AccessControlProvider accessControlProvider)
      • setSingleSignOn

        void setSingleSignOn​(boolean sso)
      • isSingleSignOn

        boolean isSingleSignOn()
        Returns:
        true if SSO is used, false otherwise.
      • getRoles

        Roles getRoles()
        Returns:
        the standard and scoped roles.
      • isDevMode

        boolean isDevMode()
        Returns:
        whether HAL is run in development mode
      • isProductionMode

        boolean isProductionMode()
        Returns:
        whether HAL is run in production mode