Package com.atlassian.bamboo.buildqueue
Class AgentAssignmentRequirement
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.v2.build.agent.capability.RequirementImpl
com.atlassian.bamboo.buildqueue.AgentAssignmentRequirement
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,Requirement
,ImmutableRequirement
,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.v2.build.requirement.ImmutableRequirement
ImmutableRequirement.MatchType
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.capability.Requirement
EQUALS, EXISTS, REGEX
-
Constructor Summary
ConstructorDescriptionAgentAssignmentRequirement
(AgentAssignmentService.AgentAssignmentExecutor allowedExecutor) -
Method Summary
Modifier and TypeMethodDescriptionString representation of the type of match the requirement needs.A match requirement value.Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.RequirementImpl
belongsToPlugin, compareTo, equals, getKey, getOwnerId, getPluginModuleKey, getRequirementSet, getTypeOfMatch, hashCode, isReadonly, isRegexMatch, isSystemRequirement, setKey, setMatchValue, setOwnerId, setPluginModuleKey, setReadonly, setRegexMatch, setRequirementSet, toString
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
AgentAssignmentRequirement
-
-
Method Details
-
getMatchValue
Description copied from interface:ImmutableRequirement
A match requirement value. Even "EXISTS" matches are represented as a regex match with match value ".*"The regex must match the
Capability
value.- Specified by:
getMatchValue
in interfaceImmutableRequirement
- Overrides:
getMatchValue
in classRequirementImpl
- Returns:
- the value to match.
-
getMatchType
Description copied from interface:Requirement
String representation of the type of match the requirement needs. This us representitive of what the users see in the UI.- Specified by:
getMatchType
in interfaceRequirement
- Overrides:
getMatchType
in classRequirementImpl
- Returns:
-
getAllowedExecutor
-