Class RestAgentAssignmentExecutorDetails
java.lang.Object
com.atlassian.bamboo.rest.model.agent.RestAgentAssignmentExecutorDetails
- All Implemented Interfaces:
BambooIdProvider
-
Constructor Summary
ConstructorsConstructorDescriptionRestAgentAssignmentExecutorDetails(@NotNull BuildAgent agent, AgentAssignment.ExecutableType executableType, boolean capabilitiesMatch) RestAgentAssignmentExecutorDetails(ElasticImageConfiguration elasticImageConfiguration, AgentAssignment.ExecutableType executableType, boolean capabilitiesMatch) RestAgentAssignmentExecutorDetails(EphemeralAgentTemplate template, AgentAssignment.ExecutableType executableType, boolean capabilitiesMatch) -
Method Summary
Modifier and TypeMethodDescription@Nullable AgentTypelonggetId()getKey()getName()getType()booleanbooleanbooleanvoidsetAgentType(@Nullable AgentType agentType) voidsetCapabilitiesMatch(boolean capabilitiesMatch) voidsetDisabled(boolean disabled) voidsetId(long id) voidvoidsetRemovable(boolean removable) void
-
Constructor Details
-
RestAgentAssignmentExecutorDetails
public RestAgentAssignmentExecutorDetails(@NotNull @NotNull BuildAgent agent, AgentAssignment.ExecutableType executableType, boolean capabilitiesMatch) -
RestAgentAssignmentExecutorDetails
public RestAgentAssignmentExecutorDetails(ElasticImageConfiguration elasticImageConfiguration, AgentAssignment.ExecutableType executableType, boolean capabilitiesMatch) -
RestAgentAssignmentExecutorDetails
public RestAgentAssignmentExecutorDetails(EphemeralAgentTemplate template, AgentAssignment.ExecutableType executableType, boolean capabilitiesMatch)
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceBambooIdProvider
-
setId
public void setId(long id) -
getKey
-
getType
-
setType
-
getAgentType
-
setAgentType
-
getName
-
setName
-
isCapabilitiesMatch
public boolean isCapabilitiesMatch() -
setCapabilitiesMatch
public void setCapabilitiesMatch(boolean capabilitiesMatch) -
isRemovable
public boolean isRemovable() -
setRemovable
public void setRemovable(boolean removable) -
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled)
-