Interface LifecycleType

All Superinterfaces:
NamedWriteable, Writeable
All Known Implementing Classes:
TimeseriesLifecycleType

public interface LifecycleType extends NamedWriteable
  • Method Details

    • getOrderedPhases

      List<Phase> getOrderedPhases(Map<String,Phase> phases)
      Returns:
      the first phase of this policy to execute
    • getOrderedActions

      List<LifecycleAction> getOrderedActions(Phase phase)
    • validate

      void validate(Collection<Phase> phases)
      validates whether the specified phases are valid for this policy instance.
      Parameters:
      phases - the phases to verify validity against
      Throws:
      IllegalArgumentException - if a specific phase or lack of a specific phase is invalid.