Package com.atlassian.bamboo.buildqueue
Interface AgentAssignment
- All Superinterfaces:
BambooIdProvider
,BambooObject
- All Known Implementing Classes:
AgentAssignmentImpl
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
Modifier and TypeInterfaceDescriptionstatic enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionlong
Type of executable -> the type of object that the executable id refers to.long
Type of executor -> the type of object that the executor id refers to.Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
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
-