Class GetLifecycleAction.LifecyclePolicyResponseItem

java.lang.Object
org.elasticsearch.xpack.core.ilm.action.GetLifecycleAction.LifecyclePolicyResponseItem
All Implemented Interfaces:
Writeable
Enclosing class:
GetLifecycleAction

public static class GetLifecycleAction.LifecyclePolicyResponseItem extends Object implements Writeable
  • Constructor Details

    • LifecyclePolicyResponseItem

      public LifecyclePolicyResponseItem(LifecyclePolicy lifecyclePolicy, long version, String modifiedDate, ItemUsage usage)
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      NB prior to 9.1 this was a TransportMasterNodeAction so for BwC we must remain able to write these responses until we no longer need to support calling this action remotely.
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • getLifecyclePolicy

      public LifecyclePolicy getLifecyclePolicy()
    • getVersion

      public long getVersion()
    • getModifiedDate

      public String getModifiedDate()
    • getUsage

      public ItemUsage getUsage()
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object