com.atlassian.bamboo.v2.build.agent
Class AgentAssignmentImpl

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.AgentAssignmentImpl
All Implemented Interfaces:
AgentAssignment, BambooIdProvider, BambooObject, java.lang.Cloneable

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
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
AgentAssignmentImpl()
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
          This method needs to be here in order to use proper id
 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()
          This method needs to be here in order to use proper id
 void setExecutableId(long executableId)
           
 void setExecutableType(AgentAssignment.ExecutableType executableType)
           
 void setExecutorId(long executorId)
           
 void setExecutorType(AgentAssignment.ExecutorType executorType)
           
 java.lang.String 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

AgentAssignmentImpl

public AgentAssignmentImpl()
Method Detail

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.