|
17 | 17 | * under the License.
|
18 | 18 | */
|
19 | 19 |
|
20 |
| -package org.elasticsearch.protocol.xpack.indexlifecycle; |
| 20 | +package org.elasticsearch.client.indexlifecycle; |
21 | 21 |
|
22 | 22 | import org.elasticsearch.common.ParseField;
|
23 | 23 | import org.elasticsearch.common.Strings;
|
@@ -56,18 +56,18 @@ public class IndexLifecycleExplainResponse implements ToXContentObject, Writeabl
|
56 | 56 | public static final ConstructingObjectParser<IndexLifecycleExplainResponse, Void> PARSER = new ConstructingObjectParser<>(
|
57 | 57 | "index_lifecycle_explain_response",
|
58 | 58 | a -> new IndexLifecycleExplainResponse(
|
59 |
| - (String) a[0], |
60 |
| - (boolean) a[1], |
61 |
| - (String) a[2], |
62 |
| - (boolean) (a[3] == null ? false: a[3]), |
63 |
| - (long) (a[4] == null ? -1L: a[4]), |
| 59 | + (String) a[0], |
| 60 | + (boolean) a[1], |
| 61 | + (String) a[2], |
| 62 | + (boolean) (a[3] == null ? false: a[3]), |
| 63 | + (long) (a[4] == null ? -1L: a[4]), |
64 | 64 | (String) a[5],
|
65 |
| - (String) a[6], |
66 |
| - (String) a[7], |
67 |
| - (String) a[8], |
68 |
| - (long) (a[9] == null ? -1L: a[9]), |
69 |
| - (long) (a[10] == null ? -1L: a[10]), |
70 |
| - (long) (a[11] == null ? -1L: a[11]), |
| 65 | + (String) a[6], |
| 66 | + (String) a[7], |
| 67 | + (String) a[8], |
| 68 | + (long) (a[9] == null ? -1L: a[9]), |
| 69 | + (long) (a[10] == null ? -1L: a[10]), |
| 70 | + (long) (a[11] == null ? -1L: a[11]), |
71 | 71 | (BytesReference) a[12]));
|
72 | 72 | static {
|
73 | 73 | PARSER.declareString(ConstructingObjectParser.constructorArg(), INDEX_FIELD);
|
@@ -158,7 +158,7 @@ public IndexLifecycleExplainResponse(StreamInput in) throws IOException {
|
158 | 158 | actionTime = in.readZLong();
|
159 | 159 | stepTime = in.readZLong();
|
160 | 160 | stepInfo = in.readOptionalBytesReference();
|
161 |
| - |
| 161 | + |
162 | 162 | } else {
|
163 | 163 | policyName = null;
|
164 | 164 | skip = false;
|
@@ -196,15 +196,15 @@ public void writeTo(StreamOutput out) throws IOException {
|
196 | 196 | public String getIndex() {
|
197 | 197 | return index;
|
198 | 198 | }
|
199 |
| - |
| 199 | + |
200 | 200 | public boolean managedByILM() {
|
201 | 201 | return managedByILM;
|
202 | 202 | }
|
203 | 203 |
|
204 | 204 | public String getPolicyName() {
|
205 | 205 | return policyName;
|
206 | 206 | }
|
207 |
| - |
| 207 | + |
208 | 208 | public boolean skip() {
|
209 | 209 | return skip;
|
210 | 210 | }
|
@@ -240,7 +240,7 @@ public long getStepTime() {
|
240 | 240 | public String getFailedStep() {
|
241 | 241 | return failedStep;
|
242 | 242 | }
|
243 |
| - |
| 243 | + |
244 | 244 | public BytesReference getStepInfo() {
|
245 | 245 | return stepInfo;
|
246 | 246 | }
|
|
0 commit comments