Class AgentAssignmentImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.v2.build.agent.AgentAssignmentImpl
- All Implemented Interfaces:
AgentAssignment,BambooIdProvider,BambooObject,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.AgentAssignment
AgentAssignment.ExecutableType, AgentAssignment.ExecutorType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanlongType of executable -> the type of object that the executable id refers to.longType of executor -> the type of object that the executor id refers to.inthashCode()voidsetExecutableId(long executableId) voidsetExecutableType(AgentAssignment.ExecutableType executableType) voidsetExecutorId(long executorId) voidsetExecutorType(AgentAssignment.ExecutorType executorType) toString()Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
AgentAssignmentImpl
public AgentAssignmentImpl()
-
-
Method Details
-
getExecutorId
public long getExecutorId()- Specified by:
getExecutorIdin interfaceAgentAssignment- Returns:
- the id of the executor
-
setExecutorId
public void setExecutorId(long executorId) -
getExecutorType
Description copied from interface:AgentAssignmentType of executor -> the type of object that the executor id refers to.- Specified by:
getExecutorTypein interfaceAgentAssignment- Returns:
- type of executor
-
setExecutorType
-
getExecutableId
public long getExecutableId()- Specified by:
getExecutableIdin interfaceAgentAssignment- Returns:
- the id of the executable
-
setExecutableId
public void setExecutableId(long executableId) -
getExecutableType
Description copied from interface:AgentAssignmentType of executable -> the type of object that the executable id refers to.- Specified by:
getExecutableTypein interfaceAgentAssignment- Returns:
- type of executable
-
setExecutableType
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
compareTo
-
toString
-