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
@Entity public class AgentAssignmentImpl extends BambooEntityObject implements AgentAssignment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.AgentAssignment
AgentAssignment.ExecutableType, AgentAssignment.ExecutorType
-
-
Constructor Summary
Constructors Constructor Description AgentAssignmentImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object obj)
boolean
equals(Object o)
long
getExecutableId()
AgentAssignment.ExecutableType
getExecutableType()
Type of executable -> the type of object that the executable id refers to.long
getExecutorId()
AgentAssignment.ExecutorType
getExecutorType()
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)
String
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
-
-
-
-
Method Detail
-
getExecutorId
public long getExecutorId()
- Specified by:
getExecutorId
in interfaceAgentAssignment
- Returns:
- the id of the executor
-
setExecutorId
public void setExecutorId(long executorId)
-
getExecutorType
public AgentAssignment.ExecutorType 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
public void setExecutorType(AgentAssignment.ExecutorType executorType)
-
getExecutableId
public long getExecutableId()
- Specified by:
getExecutableId
in interfaceAgentAssignment
- Returns:
- the id of the executable
-
setExecutableId
public void setExecutableId(long executableId)
-
getExecutableType
public AgentAssignment.ExecutableType 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
public void setExecutableType(AgentAssignment.ExecutableType executableType)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
public int compareTo(Object obj)
-
-