com.atlassian.bamboo.v2.build.agent
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, java.lang.Cloneable
public class AgentAssignmentImpl
- extends BambooEntityObject
- implements AgentAssignment
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 |
AgentAssignmentImpl
public AgentAssignmentImpl()
getExecutorId
public long getExecutorId()
- Specified by:
getExecutorId
in interface AgentAssignment
- 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 interface AgentAssignment
- Returns:
- type of executor
setExecutorType
public void setExecutorType(AgentAssignment.ExecutorType executorType)
getExecutableId
public long getExecutableId()
- Specified by:
getExecutableId
in interface AgentAssignment
- 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 interface AgentAssignment
- Returns:
- type of executable
setExecutableType
public void setExecutableType(AgentAssignment.ExecutableType executableType)
hashCode
public int hashCode()
- Description copied from class:
BambooEntityObject
- This method needs to be here in order to use proper id
- Overrides:
hashCode
in class BambooEntityObject
equals
public boolean equals(java.lang.Object o)
- Description copied from class:
BambooEntityObject
- This method needs to be here in order to use proper id
- Overrides:
equals
in class BambooEntityObject
compareTo
public int compareTo(java.lang.Object obj)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.