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
  • Constructor Details

    • AgentAssignmentImpl

      public AgentAssignmentImpl()
  • Method Details

    • 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()
      Overrides:
      hashCode in class com.atlassian.core.bean.EntityObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.atlassian.core.bean.EntityObject
    • compareTo

      public int compareTo(Object obj)
    • toString

      public String toString()
      Overrides:
      toString in class Object