Class WaitReasonImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.buildDistribution.WaitReasonImpl
-
- All Implemented Interfaces:
WaitReason,WaitReasonEx
public class WaitReasonImpl extends Object implements WaitReasonEx
-
-
Constructor Summary
Constructors Constructor Description WaitReasonImpl(String description, boolean needsMoreAgents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()String representation of the reason.booleannotEnoughAgents()StringtoString()
-
-
-
Constructor Detail
-
WaitReasonImpl
public WaitReasonImpl(@NotNull String description, boolean needsMoreAgents)
-
-
Method Detail
-
getDescription
@NotNull public String getDescription()
Description copied from interface:WaitReasonString representation of the reason.- Specified by:
getDescriptionin interfaceWaitReason- Returns:
- see above
-
notEnoughAgents
public boolean notEnoughAgents()
- Specified by:
notEnoughAgentsin interfaceWaitReasonEx- Returns:
- true if there are currently not enough agents to start this build (all agents are busy, no compatible agents, etc) and some additional agents might be required; return false if wait reason is not related to agents at all
-
-