[ML] Call initialising constructor of BaseTasksRequest (elastic/x-pack-elasticsearch#1771)
Original commit: elastic/x-pack-elasticsearch@216527c959
This commit is contained in:
parent
7ab6a7e83a
commit
cbceae4a33
|
@ -233,9 +233,12 @@ public class CloseJobAction extends Action<CloseJobAction.Request, CloseJobActio
|
|||
private boolean closed;
|
||||
|
||||
Response() {
|
||||
super(null, null);
|
||||
|
||||
}
|
||||
|
||||
Response(StreamInput in) throws IOException {
|
||||
super(null, null);
|
||||
readFrom(in);
|
||||
}
|
||||
|
||||
|
|
|
@ -190,6 +190,7 @@ public class FlushJobAction extends Action<FlushJobAction.Request, FlushJobActio
|
|||
private boolean flushed;
|
||||
|
||||
Response() {
|
||||
super(null, null);
|
||||
}
|
||||
|
||||
Response(boolean flushed) {
|
||||
|
|
|
@ -168,6 +168,7 @@ public class IsolateDatafeedAction
|
|||
}
|
||||
|
||||
public Response(StreamInput in) throws IOException {
|
||||
super(null, null);
|
||||
readFrom(in);
|
||||
}
|
||||
|
||||
|
|
|
@ -78,9 +78,11 @@ public class KillProcessAction extends Action<KillProcessAction.Request, KillPro
|
|||
private boolean killed;
|
||||
|
||||
Response() {
|
||||
super(null, null);
|
||||
}
|
||||
|
||||
Response(StreamInput in) throws IOException {
|
||||
super(null, null);
|
||||
readFrom(in);
|
||||
}
|
||||
|
||||
|
|
|
@ -67,10 +67,12 @@ public class PostDataAction extends Action<PostDataAction.Request, PostDataActio
|
|||
private DataCounts dataCounts;
|
||||
|
||||
Response(String jobId) {
|
||||
super(null, null);
|
||||
dataCounts = new DataCounts(jobId);
|
||||
}
|
||||
|
||||
private Response() {
|
||||
super(null, null);
|
||||
}
|
||||
|
||||
public Response(DataCounts counts) {
|
||||
|
|
|
@ -222,10 +222,12 @@ public class StopDatafeedAction
|
|||
}
|
||||
|
||||
public Response(StreamInput in) throws IOException {
|
||||
super(null, null);
|
||||
readFrom(in);
|
||||
}
|
||||
|
||||
public Response() {
|
||||
super(null, null);
|
||||
}
|
||||
|
||||
public boolean isStopped() {
|
||||
|
|
|
@ -477,7 +477,7 @@ public class TestPersistentTasksPlugin extends Plugin implements ActionPlugin {
|
|||
private List<TestTaskResponse> tasks;
|
||||
|
||||
public TestTasksResponse() {
|
||||
|
||||
super(null, null);
|
||||
}
|
||||
|
||||
public TestTasksResponse(List<TestTaskResponse> tasks, List<TaskOperationFailure> taskFailures,
|
||||
|
|
Loading…
Reference in New Issue