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
public class AgentAssignmentRequirement extends RequirementImpl
-
-
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
Constructors Constructor Description AgentAssignmentRequirement(AgentAssignmentService.AgentAssignmentExecutor allowedExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentAssignmentService.AgentAssignmentExecutorgetAllowedExecutor()StringgetMatchType()String representation of the type of match the requirement needs.StringgetMatchValue()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 Detail
-
AgentAssignmentRequirement
public AgentAssignmentRequirement(AgentAssignmentService.AgentAssignmentExecutor allowedExecutor)
-
-
Method Detail
-
getMatchValue
public String getMatchValue()
Description copied from interface:ImmutableRequirementA match requirement value. Even "EXISTS" matches are represented as a regex match with match value ".*"The regex must match the
Capabilityvalue.- Specified by:
getMatchValuein interfaceImmutableRequirement- Overrides:
getMatchValuein classRequirementImpl- Returns:
- the value to match.
-
getMatchType
public String getMatchType()
Description copied from interface:RequirementString representation of the type of match the requirement needs. This us representitive of what the users see in the UI.- Specified by:
getMatchTypein interfaceRequirement- Overrides:
getMatchTypein classRequirementImpl- Returns:
-
getAllowedExecutor
public AgentAssignmentService.AgentAssignmentExecutor getAllowedExecutor()
-
-