Class WaitReasonImpl

    • 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 interface WaitReason
        Returns:
        see above
      • notEnoughAgents

        public boolean notEnoughAgents()
        Specified by:
        notEnoughAgents in interface WaitReasonEx
        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