Class ProvisioningProgressEvent

java.lang.Object
org.wildfly.prospero.api.ProvisioningProgressEvent

public class ProvisioningProgressEvent extends Object
Represents provisioning progress. Emitted periodically during provisioning of servers.
  • Constructor Details

  • Method Details

    • getCurrentItem

      public String getCurrentItem()
      details of currently processed item.
      Returns:
      description of item if available, null otherwise
    • isSlowPhase

      public boolean isSlowPhase()
      if set, the current phase doesn't receive any updates and can be a relatively slow process
      Returns:
    • getProgress

      public double getProgress()
      percentage of completion at the time of emitting the event
      Returns:
    • getEventType

      public ProvisioningProgressEvent.EventType getEventType()
      type of stage event - see ProvisioningProgressEvent.EventType
    • getCompleted

      public long getCompleted()
      count of completed items when the even is emitted
    • getTotal

      public long getTotal()
      total count of items to complete in current stage
    • getStage

      public String getStage()
      name of the current stage
    • toString

      public String toString()
      Overrides:
      toString in class Object