Class GetRepositoriesRequest

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest

public class GetRepositoriesRequest extends MasterNodeReadRequest<GetRepositoriesRequest>
Get repository request
  • Constructor Details

    • GetRepositoriesRequest

      public GetRepositoriesRequest()
    • GetRepositoriesRequest

      public GetRepositoriesRequest(String[] repositories)
      Constructs a new get repositories request with a list of repositories.

      If the list of repositories is empty or it contains a single element "_all", all registered repositories are returned.

      Parameters:
      repositories - list of repositories
    • GetRepositoriesRequest

      public GetRepositoriesRequest(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details