Interface AgentAssignment

All Superinterfaces:
BambooIdProvider, BambooObject
All Known Implementing Classes:
AgentAssignmentImpl

public interface AgentAssignment extends BambooObject
Represents an exclusive assignment between an executable and an executor. Executable can represent and actual executable (e.g. job) or a parent of the object (e.g. plan or project). Similarly with the executor.
Since:
v5.0
  • Method Details

    • getExecutorId

      long getExecutorId()
      Returns:
      the id of the executor
    • getExecutorType

      AgentAssignment.ExecutorType getExecutorType()
      Type of executor -> the type of object that the executor id refers to.
      Returns:
      type of executor
    • getExecutableId

      long getExecutableId()
      Returns:
      the id of the executable
    • getExecutableType

      AgentAssignment.ExecutableType getExecutableType()
      Type of executable -> the type of object that the executable id refers to.
      Returns:
      type of executable