com.atlassian.bamboo.buildqueue
Class AgentAssignmentRequirement

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.v2.build.agent.capability.RequirementImpl
              extended by com.atlassian.bamboo.buildqueue.AgentAssignmentRequirement
All Implemented Interfaces:
BambooIdProvider, BambooObject, Requirement, java.lang.Cloneable

public class AgentAssignmentRequirement
extends RequirementImpl


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.capability.Requirement
EQUALS, EXISTS, REGEX
 
Constructor Summary
AgentAssignmentRequirement(AgentAssignmentService.AgentAssignmentExecutor allowedExecutor)
           
 
Method Summary
 AgentAssignmentService.AgentAssignmentExecutor getAllowedExecutor()
           
 java.lang.String getMatchType()
           
 java.lang.String getMatchValue()
          A match requirement value.
 
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.RequirementImpl
belongsToPlugin, compareTo, equals, getKey, getOwnerId, getPluginModuleKey, getRequirementSet, hashCode, isReadonly, isRegexMatch, isSystemRequirement, setKey, setMatchValue, setOwnerId, setPluginModuleKey, setReadonly, setRegexMatch, setRequirementSet, toString
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

AgentAssignmentRequirement

public AgentAssignmentRequirement(AgentAssignmentService.AgentAssignmentExecutor allowedExecutor)
Method Detail

getMatchValue

public java.lang.String getMatchValue()
Description copied from interface: Requirement
A match requirement value. The regex must match the Capability value.

Specified by:
getMatchValue in interface Requirement
Overrides:
getMatchValue in class RequirementImpl
Returns:

getMatchType

public java.lang.String getMatchType()
Specified by:
getMatchType in interface Requirement
Overrides:
getMatchType in class RequirementImpl

getAllowedExecutor

public AgentAssignmentService.AgentAssignmentExecutor getAllowedExecutor()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.