Class PhaseExecutionInfo

  • All Implemented Interfaces:
    ToXContent, ToXContentObject

    public class PhaseExecutionInfo
    extends java.lang.Object
    implements ToXContentObject
    This class contains information about the current phase being executed by Index Lifecycle Management on the specific index.
    • Constructor Detail

      • PhaseExecutionInfo

        public PhaseExecutionInfo​(java.lang.String policyName,
                                  Phase phase,
                                  long version,
                                  long modifiedDate)
        This class holds information about the current phase that is being executed
        Parameters:
        policyName - the name of the policy being executed, this may not be the current policy assigned to an index
        phase - the current phase definition executed
        version - the version of the policyName being executed
        modifiedDate - the time the executing version of the phase was modified
    • Method Detail

      • getPolicyName

        public java.lang.String getPolicyName()
      • getPhase

        public Phase getPhase()
      • getVersion

        public long getVersion()
      • getModifiedDate

        public long getModifiedDate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object