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 String
getDescription()
String representation of the reason.boolean
notEnoughAgents()
String
toString()
-
-
-
Constructor Detail
-
WaitReasonImpl
public WaitReasonImpl(@NotNull String description, boolean needsMoreAgents)
-
-
Method Detail
-
getDescription
@NotNull public String getDescription()
Description copied from interface:WaitReason
String representation of the reason.- Specified by:
getDescription
in interfaceWaitReason
- Returns:
- see above
-
notEnoughAgents
public boolean notEnoughAgents()
- Specified by:
notEnoughAgents
in 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
-
-