Class ExecutorKey
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.agent.ExecutorKey
-
public class ExecutorKey extends Object
Required to generate/parse agent assignment key used to interact between backend-frontend.
-
-
Constructor Summary
Constructors Constructor Description ExecutorKey(@NotNull String executorKey)
ExecutorKey(AgentAssignment.ExecutorType type, long executorId)
-
-
-
Constructor Detail
-
ExecutorKey
public ExecutorKey(@NotNull AgentAssignment.ExecutorType type, long executorId)
-
ExecutorKey
public ExecutorKey(@NotNull @NotNull String executorKey) throws IllegalArgumentException
- Parameters:
executorKey
- to be parsed- Throws:
IllegalArgumentException
- when can't parse provided executorKey
-
-
Method Detail
-
getId
public long getId()
-
getType
public AgentAssignment.ExecutorType getType()
-
-