Interface Requirement
- All Superinterfaces:
BambooIdProvider,BambooObject,ImmutableRequirement
- All Known Implementing Classes:
AgentAssignmentRequirement,RequirementImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.v2.build.requirement.ImmutableRequirement
ImmutableRequirement.MatchType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable RequirementSetbooleanIs this a regex match requirement or exact match requirement.booleanIs this a system requirement?voidvoidsetOwnerId(long uniqueIdentifier) voidsetPluginModuleKey(String pluginModuleKey) voidsetReadonly(Boolean readonly) voidsetRequirementSet(RequirementSet requirementSet) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.v2.build.requirement.ImmutableRequirement
getKey, getMatchValue, getOwnerId, getPluginModuleKey, getTypeOfMatch, isReadonly
-
Field Details
-
EXISTS
- See Also:
-
EQUALS
- See Also:
-
REGEX
- See Also:
-
-
Method Details
-
setKey
-
isRegexMatch
boolean isRegexMatch()Is this a regex match requirement or exact match requirement.- Specified by:
isRegexMatchin interfaceImmutableRequirement- Returns:
-
isSystemRequirement
boolean isSystemRequirement()Is this a system requirement? System requirements are builder/jdk requirements which cannot be removed from the plan.- Returns:
-
setReadonly
-
setPluginModuleKey
-
setOwnerId
void setOwnerId(long uniqueIdentifier) -
belongsToPlugin
boolean belongsToPlugin()- Returns:
- true if this
Requirementbelongs to a plugin
-
getRequirementSet
- Returns:
- requirementSet that this
Requirementis linked to
-
setRequirementSet
-