public class RestAgentAssignmentExecutorDetails extends Object implements BambooIdProvider
Constructor and Description |
---|
RestAgentAssignmentExecutorDetails(BuildAgent agent,
boolean capabilitiesMatch) |
RestAgentAssignmentExecutorDetails(ElasticImageConfiguration elasticImageConfiguration,
boolean capabilitiesMatch) |
Modifier and Type | Method and Description |
---|---|
AgentType |
getAgentType() |
long |
getId() |
String |
getKey() |
String |
getName() |
AgentAssignment.ExecutorType |
getType() |
boolean |
isCapabilitiesMatch() |
boolean |
isDisabled() |
boolean |
isRemovable() |
void |
setAgentType(AgentType agentType) |
void |
setCapabilitiesMatch(boolean capabilitiesMatch) |
void |
setDisabled(boolean disabled) |
void |
setId(long id) |
void |
setName(String name) |
void |
setRemovable(boolean removable) |
void |
setType(AgentAssignment.ExecutorType type) |
public RestAgentAssignmentExecutorDetails(BuildAgent agent, boolean capabilitiesMatch)
public RestAgentAssignmentExecutorDetails(ElasticImageConfiguration elasticImageConfiguration, boolean capabilitiesMatch)
public long getId()
getId
in interface BambooIdProvider
public void setId(long id)
public String getKey()
public AgentAssignment.ExecutorType getType()
public void setType(AgentAssignment.ExecutorType type)
@Nullable public AgentType getAgentType()
public void setAgentType(@Nullable AgentType agentType)
public String getName()
public void setName(String name)
public boolean isCapabilitiesMatch()
public void setCapabilitiesMatch(boolean capabilitiesMatch)
public boolean isRemovable()
public void setRemovable(boolean removable)
public boolean isDisabled()
public void setDisabled(boolean disabled)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.