Interface LicensingPolicy


  • public interface LicensingPolicy
    Provides information about current licensing policy.
    • Method Detail

      • isEnterpriseMode

        boolean isEnterpriseMode()
        Returns true if server is working in the enterprise mode.
        Returns:
        true for enterprise mode and false otherwise
      • isEvaluationMode

        boolean isEvaluationMode()
        Returns:
        true if server is in evaluation mode
      • isEAPEvaluationMode

        boolean isEAPEvaluationMode()
        Returns:
        true if server is in EAP evaluation mode.
      • isOpenSourceMode

        boolean isOpenSourceMode()
        Returns:
        Returns true if server is in open source evaluation mode.
      • getMaxNumberOfBuildTypes

        int getMaxNumberOfBuildTypes()
        Returns maximum number of build configurations supported by the current licensing policy.
        Returns:
        maximum number of build configurations supported or -1 if there is no build configurations limit
      • getMaxNumberOfAuthorizedAgents

        int getMaxNumberOfAuthorizedAgents()
        Returns maximum number of authorized agents or -1 if there is no limit
        Returns:
        max number of authorized agents
        Since:
        5.0