Class BaseConditionAwaiter

java.lang.Object
com.xebialabs.xlrelease.utils.BaseConditionAwaiter
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
TaskCommentsAwaiter

public abstract class BaseConditionAwaiter extends Object implements AutoCloseable
  • Field Details

    • DEFAULT_TIMEOUT

      protected static final long DEFAULT_TIMEOUT
      See Also:
    • failed

      protected boolean failed
    • latch

      protected CountDownLatch latch
    • timeout

      protected long timeout
  • Constructor Details

    • BaseConditionAwaiter

      public BaseConditionAwaiter(com.xebialabs.xlrelease.events.XLReleaseEventBus eventBus, long timeout)
    • BaseConditionAwaiter

      public BaseConditionAwaiter(com.xebialabs.xlrelease.events.XLReleaseEventBus eventBus, long timeout, int latchCount)
  • Method Details