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 AgentType
long
getId()
getKey()
getName()
getType()
boolean
boolean
boolean
void
setAgentType
(@Nullable AgentType agentType) void
setCapabilitiesMatch
(boolean capabilitiesMatch) void
setDisabled
(boolean disabled) void
setId
(long id) void
void
setRemovable
(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:
getId
in 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)
-