Package 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
Nested Classes Modifier and Type Interface Description static class
AgentAssignment.ExecutableType
static class
AgentAssignment.ExecutorType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
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
-
-