Class AgentAssignmentExecutorDetails
- java.lang.Object
-
- com.atlassian.bamboo.ww2.actions.agent.AgentAssignmentExecutorDetails
-
- All Implemented Interfaces:
BambooIdProvider
,Comparable<AgentAssignmentExecutorDetails>
public class AgentAssignmentExecutorDetails extends Object implements Comparable<AgentAssignmentExecutorDetails>, BambooIdProvider
-
-
Constructor Summary
Constructors Constructor Description AgentAssignmentExecutorDetails(ElasticImageConfiguration elasticImageConfiguration, boolean capabilitiesMatch)
AgentAssignmentExecutorDetails(EphemeralAgentTemplate template, boolean capabilitiesMatch)
AgentAssignmentExecutorDetails(BuildAgent agent, boolean capabilitiesMatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AgentAssignmentExecutorDetails obj)
@Nullable AgentType
getAgentType()
long
getId()
String
getName()
AgentAssignment.ExecutorType
getType()
boolean
isCapabilitiesMatch()
-
-
-
Constructor Detail
-
AgentAssignmentExecutorDetails
public AgentAssignmentExecutorDetails(BuildAgent agent, boolean capabilitiesMatch)
-
AgentAssignmentExecutorDetails
public AgentAssignmentExecutorDetails(ElasticImageConfiguration elasticImageConfiguration, boolean capabilitiesMatch)
-
AgentAssignmentExecutorDetails
public AgentAssignmentExecutorDetails(EphemeralAgentTemplate template, boolean capabilitiesMatch)
-
-
Method Detail
-
getName
public String getName()
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
getType
public AgentAssignment.ExecutorType getType()
-
getAgentType
@Nullable public @Nullable AgentType getAgentType()
-
isCapabilitiesMatch
public boolean isCapabilitiesMatch()
-
compareTo
public int compareTo(AgentAssignmentExecutorDetails obj)
- Specified by:
compareTo
in interfaceComparable<AgentAssignmentExecutorDetails>
-
-