com.atlassian.bamboo.buildqueue
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

Nested Class Summary
static class AgentAssignment.ExecutableType
           
static class AgentAssignment.ExecutorType
           
 
Method Summary
 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.
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Method Detail

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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.