Open Kilda Java Documentation
DumpStateResponseData.java
Go to the documentation of this file.
1 package org.openkilda.messaging.ctrl;
2 
3 import com.fasterxml.jackson.annotation.JsonCreator;
4 import com.fasterxml.jackson.annotation.JsonInclude;
5 import com.fasterxml.jackson.annotation.JsonProperty;
6 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
7 
8 @JsonSerialize
9 @JsonInclude(JsonInclude.Include.NON_NULL)
10 public class DumpStateResponseData extends ResponseData {
11  @JsonProperty("state")
12  private AbstractDumpState state;
13 
14  @JsonCreator
16  @JsonProperty("component") String component,
17  @JsonProperty("task_id") Integer taskId,
18  @JsonProperty("topology") String topology,
19  @JsonProperty("state") AbstractDumpState state) {
20  super(component, taskId, topology);
21  this.state = state;
22  }
23 
25  return state;
26  }
27 }
DumpStateResponseData( @JsonProperty("component") String component, @JsonProperty("task_id") Integer taskId, @JsonProperty("topology") String topology, @JsonProperty("state") AbstractDumpState state)