Class CleanupRepositoryResponse

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.admin.cluster.repositories.cleanup.CleanupRepositoryResponse
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public final class CleanupRepositoryResponse
extends ActionResponse
implements org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

    • CleanupRepositoryResponse

      public CleanupRepositoryResponse()
    • CleanupRepositoryResponse

      public CleanupRepositoryResponse​(RepositoryCleanupResult result)
    • CleanupRepositoryResponse

      public CleanupRepositoryResponse​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • result

      public RepositoryCleanupResult result()
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • fromXContent

      public static CleanupRepositoryResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException