[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;
|
private boolean closed;
|
||||||
|
|
||||||
Response() {
|
Response() {
|
||||||
|
super(null, null);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Response(StreamInput in) throws IOException {
|
Response(StreamInput in) throws IOException {
|
||||||
|
super(null, null);
|
||||||
readFrom(in);
|
readFrom(in);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -190,6 +190,7 @@ public class FlushJobAction extends Action<FlushJobAction.Request, FlushJobActio
|
||||||
private boolean flushed;
|
private boolean flushed;
|
||||||
|
|
||||||
Response() {
|
Response() {
|
||||||
|
super(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
Response(boolean flushed) {
|
Response(boolean flushed) {
|
||||||
|
|
|
@ -168,6 +168,7 @@ public class IsolateDatafeedAction
|
||||||
}
|
}
|
||||||
|
|
||||||
public Response(StreamInput in) throws IOException {
|
public Response(StreamInput in) throws IOException {
|
||||||
|
super(null, null);
|
||||||
readFrom(in);
|
readFrom(in);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,9 +78,11 @@ public class KillProcessAction extends Action<KillProcessAction.Request, KillPro
|
||||||
private boolean killed;
|
private boolean killed;
|
||||||
|
|
||||||
Response() {
|
Response() {
|
||||||
|
super(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
Response(StreamInput in) throws IOException {
|
Response(StreamInput in) throws IOException {
|
||||||
|
super(null, null);
|
||||||
readFrom(in);
|
readFrom(in);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,10 +67,12 @@ public class PostDataAction extends Action<PostDataAction.Request, PostDataActio
|
||||||
private DataCounts dataCounts;
|
private DataCounts dataCounts;
|
||||||
|
|
||||||
Response(String jobId) {
|
Response(String jobId) {
|
||||||
|
super(null, null);
|
||||||
dataCounts = new DataCounts(jobId);
|
dataCounts = new DataCounts(jobId);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Response() {
|
private Response() {
|
||||||
|
super(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Response(DataCounts counts) {
|
public Response(DataCounts counts) {
|
||||||
|
|
|
@ -222,10 +222,12 @@ public class StopDatafeedAction
|
||||||
}
|
}
|
||||||
|
|
||||||
public Response(StreamInput in) throws IOException {
|
public Response(StreamInput in) throws IOException {
|
||||||
|
super(null, null);
|
||||||
readFrom(in);
|
readFrom(in);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Response() {
|
public Response() {
|
||||||
|
super(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isStopped() {
|
public boolean isStopped() {
|
||||||
|
|
|
@ -477,7 +477,7 @@ public class TestPersistentTasksPlugin extends Plugin implements ActionPlugin {
|
||||||
private List<TestTaskResponse> tasks;
|
private List<TestTaskResponse> tasks;
|
||||||
|
|
||||||
public TestTasksResponse() {
|
public TestTasksResponse() {
|
||||||
|
super(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TestTasksResponse(List<TestTaskResponse> tasks, List<TaskOperationFailure> taskFailures,
|
public TestTasksResponse(List<TestTaskResponse> tasks, List<TaskOperationFailure> taskFailures,
|
||||||
|
|
Loading…
Reference in New Issue