/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License;
 * you may not use this file except in compliance with the Elastic License.
 */
package org.elasticsearch.xpack.watcher.transport.actions.service;

import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;


public class WatcherServiceAction extends Action<WatcherServiceRequest, WatcherServiceResponse, WatcherServiceRequestBuilder> {

    public static final WatcherServiceAction INSTANCE = new WatcherServiceAction();
    public static final String NAME = "cluster:admin/xpack/watcher/service";

    private WatcherServiceAction() {
        super(NAME);
    }

    @Override
    public WatcherServiceResponse newResponse() {
        return new WatcherServiceResponse();
    }

    @Override
    public WatcherServiceRequestBuilder newRequestBuilder(ElasticsearchClient client) {
        return new WatcherServiceRequestBuilder(client);
    }
}
