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
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
long
Type of executable -> the type of object that the executable id refers to.long
Type of executor -> the type of object that the executor id refers to.int
hashCode()
void
setExecutableId
(long executableId) void
setExecutableType
(AgentAssignment.ExecutableType executableType) void
setExecutorId
(long executorId) void
setExecutorType
(AgentAssignment.ExecutorType executorType) 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
-
AgentAssignmentImpl
public AgentAssignmentImpl()
-
-
Method Details
-
getExecutorId
public long getExecutorId()- Specified by:
getExecutorId
in interfaceAgentAssignment
- Returns:
- the id of the executor
-
setExecutorId
public void setExecutorId(long executorId) -
getExecutorType
Description copied from interface:AgentAssignment
Type of executor -> the type of object that the executor id refers to.- Specified by:
getExecutorType
in interfaceAgentAssignment
- Returns:
- type of executor
-
setExecutorType
-
getExecutableId
public long getExecutableId()- Specified by:
getExecutableId
in interfaceAgentAssignment
- Returns:
- the id of the executable
-
setExecutableId
public void setExecutableId(long executableId) -
getExecutableType
Description copied from interface:AgentAssignment
Type of executable -> the type of object that the executable id refers to.- Specified by:
getExecutableType
in interfaceAgentAssignment
- Returns:
- type of executable
-
setExecutableType
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
-
toString
-