Interface ProjectSettingsRestriction


public interface ProjectSettingsRestriction
A restriction that enforces settings at the project level so that it cannot be overridden at the repository level by repository administrators.
Since:
8.10
  • Method Details

    • getId

      long getId()
      Returns:
      the unique identifier for the settings restriction
    • getProcessedState

      @Nonnull RestrictionProcessedState getProcessedState()
      Retrieves the processed state of the restriction.
      Returns:
      whether or not this restriction has completed post-processing
    • getProject

      @Nonnull Project getProject()
      Returns:
      the project to which the settings restriction is applied
    • getSettingsKey

      @Nonnull SettingsKey getSettingsKey()
      Returns:
      the key that identifies the feature being restricted