Interface LicensingPolicyEx

    • Method Detail

      • isMaxNumberOfAuthorizedAgentsExceeded

        boolean isMaxNumberOfAuthorizedAgentsExceeded()
        Returns true if number of authorized agents exceeds number of agents written in license keys.
        Returns:
        see above
      • getAgentsLicensesLeft

        int getAgentsLicensesLeft()
        Returns:
        number of agent licenses left or -1 if there is no limit for number of agents
      • isMaxNumberOfBuildTypesExceeded

        boolean isMaxNumberOfBuildTypesExceeded()
        Returns true if maximum number of build configurations exceeded.
        Returns:
        see above
      • getBuildTypesLicensesLeft

        int getBuildTypesLicensesLeft()
        Returns:
        number of build configuration licenses left or -1 if there is no limit
      • canCreateMoreBuildTypes

        boolean canCreateMoreBuildTypes​(int buildTypesCount)
        Parameters:
        buildTypesCount - number of build configurations to create
        Returns:
        true if the specified number of build configurations can be created
      • getActiveLicensesNum

        int getActiveLicensesNum()
        Returns:
        number of currently active license keys
      • isPerUsageLicenseActive

        boolean isPerUsageLicenseActive()
        Returns:
        true if the server works in PerUsage enterprise mode and it is active - usage data was sent to the JetProfile recently.