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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable RequirementSet
boolean
Is this a regex match requirement or exact match requirement.boolean
Is this a system requirement? System requirements are builder/jdk requirements which cannot be removed from the plan.void
void
setOwnerId
(long uniqueIdentifier) void
setPluginModuleKey
(String pluginModuleKey) void
setReadonly
(Boolean readonly) void
setRequirementSet
(RequirementSet requirementSet) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods 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:
isRegexMatch
in 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
Requirement
belongs to a plugin
-
getRequirementSet
- Returns:
- requirementSet that this
Requirement
is linked to
-
setRequirementSet
-