fix actions to reflect changes in master

This commit is contained in:
Tal Levy 2018-06-19 15:01:15 -07:00
parent eee1a451fc
commit 01d456b55c
7 changed files with 7 additions and 10 deletions

View File

@ -17,8 +17,7 @@ import org.elasticsearch.common.xcontent.ToXContentObject;
import java.io.IOException;
import java.util.Objects;
public class DeleteLifecycleAction
extends Action<DeleteLifecycleAction.Request, DeleteLifecycleAction.Response> {
public class DeleteLifecycleAction extends Action<DeleteLifecycleAction.Response> {
public static final DeleteLifecycleAction INSTANCE = new DeleteLifecycleAction();
public static final String NAME = "cluster:admin/xpack/index_lifecycle/delete";

View File

@ -21,8 +21,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.Objects;
public class ExplainLifecycleAction
extends Action<ExplainLifecycleAction.Request, ExplainLifecycleAction.Response> {
public class ExplainLifecycleAction extends Action<ExplainLifecycleAction.Response> {
public static final ExplainLifecycleAction INSTANCE = new ExplainLifecycleAction();
public static final String NAME = "indices:admin/xpack/index_lifecycle/explain";

View File

@ -21,8 +21,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.Objects;
public class GetLifecycleAction
extends Action<GetLifecycleAction.Request, GetLifecycleAction.Response> {
public class GetLifecycleAction extends Action<GetLifecycleAction.Response> {
public static final GetLifecycleAction INSTANCE = new GetLifecycleAction();
public static final String NAME = "cluster:admin/xpack/index_lifecycle/get";

View File

@ -23,7 +23,7 @@ import org.elasticsearch.xpack.core.indexlifecycle.Step.StepKey;
import java.io.IOException;
import java.util.Objects;
public class MoveToStepAction extends Action<MoveToStepAction.Request, MoveToStepAction.Response> {
public class MoveToStepAction extends Action<MoveToStepAction.Response> {
public static final MoveToStepAction INSTANCE = new MoveToStepAction();
public static final String NAME = "cluster:admin/xpack/index_lifecycle/_move/post";

View File

@ -22,7 +22,7 @@ import org.elasticsearch.xpack.core.indexlifecycle.LifecyclePolicy;
import java.io.IOException;
import java.util.Objects;
public class PutLifecycleAction extends Action<PutLifecycleAction.Request, PutLifecycleAction.Response> {
public class PutLifecycleAction extends Action<PutLifecycleAction.Response> {
public static final PutLifecycleAction INSTANCE = new PutLifecycleAction();
public static final String NAME = "cluster:admin/xpack/index_lifecycle/put";

View File

@ -21,7 +21,7 @@ import java.io.IOException;
import java.util.Arrays;
import java.util.Objects;
public class RetryAction extends Action<RetryAction.Request, RetryAction.Response> {
public class RetryAction extends Action<RetryAction.Response> {
public static final RetryAction INSTANCE = new RetryAction();
public static final String NAME = "indices:admin/xpack/index_lifecycle/retry";

View File

@ -24,7 +24,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.Objects;
public class SetPolicyForIndexAction extends Action<SetPolicyForIndexAction.Request, SetPolicyForIndexAction.Response> {
public class SetPolicyForIndexAction extends Action<SetPolicyForIndexAction.Response> {
public static final SetPolicyForIndexAction INSTANCE = new SetPolicyForIndexAction();
public static final String NAME = "indices:admin/xpack/index_lifecycle/set_policy";