2 * Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may
5 * not use this file except in compliance with the License. You may obtain
6 * a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 * implied. See the License for the specific language governing
14 * permissions and limitations under the License.
16 package org.akraino.validation.ui.client.nexus.resources;
18 import java.util.List;
20 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
21 import org.codehaus.jackson.annotate.JsonProperty;
22 import org.codehaus.jackson.map.annotate.JsonSerialize;
24 import com.fasterxml.jackson.databind.JsonNode;
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
35 @JsonProperty("library")
36 private String library;
41 @JsonProperty("status")
42 private Kw.Status status;
47 @JsonProperty("arguments")
48 private Kw.Arguments arguments;
57 public String getName() {
61 public void setName(String name) {
65 public String getType() {
69 public void setType(String type) {
73 public String getLibrary() {
77 public void setLibrary(String library) {
78 this.library = library;
81 public String getDoc() {
85 public void setDoc(String doc) {
89 public Kw.Status getStatus() {
93 public void setStatus(Kw.Status status) {
97 public List<Kw> getKw() {
101 public void setKw(List<Kw> kw) {
105 public Kw.Arguments getArguments() {
106 return this.arguments;
109 public void setArguments(Kw.Arguments arguments) {
110 this.arguments = arguments;
113 public JsonNode getMsg() {
117 public void setMsg(JsonNode msg) {
121 public class Status {
122 @JsonProperty("endtime")
123 private String endtime;
125 @JsonProperty("starttime")
126 private String starttime;
128 @JsonProperty("status")
129 private String status;
135 public String getEndtime() {
139 public void setEndtime(String endtime) {
140 this.endtime = endtime;
143 public String getStarttime() {
144 return this.starttime;
147 public void setStarttime(String starttime) {
148 this.starttime = starttime;
151 public String getStatus() {
155 public void setStatus(String status) {
156 this.status = status;
160 public class Arguments {
162 private List<String> arg;
168 public List<String> getArg() {
172 public void setArg(List<String> arg) {