Interface Requirement

All Superinterfaces:
BambooIdProvider, BambooObject, ImmutableRequirement
All Known Implementing Classes:
AgentAssignmentRequirement, RequirementImpl

public interface Requirement extends BambooObject, ImmutableRequirement
  • Field Details

  • Method Details

    • setKey

      void setKey(String key)
    • isRegexMatch

      boolean isRegexMatch()
      Is this a regex match requirement or exact match requirement.
      Specified by:
      isRegexMatch in interface ImmutableRequirement
      Returns:
    • isSystemRequirement

      boolean isSystemRequirement()
      Is this a system requirement? System requirements are builder/jdk requirements which cannot be removed from the plan.
      Returns:
    • setReadonly

      void setReadonly(Boolean readonly)
    • setPluginModuleKey

      void setPluginModuleKey(String pluginModuleKey)
    • setOwnerId

      void setOwnerId(long uniqueIdentifier)
    • belongsToPlugin

      boolean belongsToPlugin()
      Returns:
      true if this Requirement belongs to a plugin
    • getRequirementSet

      @Nullable @Nullable RequirementSet getRequirementSet()
      Returns:
      requirementSet that this Requirement is linked to
    • setRequirementSet

      void setRequirementSet(RequirementSet requirementSet)
    • getMatchType

      @Deprecated String getMatchType()
      Deprecated.
      String representation of the type of match the requirement needs. This us representitive of what the users see in the UI.
      Returns: