Package: IsJobRunningResponse
IsJobRunningResponse
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IsJobRunningResponse() |
|
|
|
|
|
||||||||||||||||||||
IsJobRunningResponse(KapuaId, Boolean) |
|
|
|
|
|
||||||||||||||||||||
getJobId() |
|
|
|
|
|
||||||||||||||||||||
isRunning() |
|
|
|
|
|
||||||||||||||||||||
setJobId(KapuaId) |
|
|
|
|
|
||||||||||||||||||||
setRunning(Boolean) |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2021, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.app.api.core.model.job;
14:
15: import javax.xml.bind.annotation.XmlElement;
16: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
17:
18: import org.eclipse.kapua.model.id.KapuaId;
19: import org.eclipse.kapua.model.id.KapuaIdAdapter;
20:
21: public class IsJobRunningResponse {
22:
23: private KapuaId jobId;
24: private Boolean isRunning;
25:
26: public IsJobRunningResponse() {
27: }
28:
29: public IsJobRunningResponse(KapuaId jobId, Boolean isRunning) {
30: this.jobId = jobId;
31: this.isRunning = isRunning;
32: }
33:
34: @XmlJavaTypeAdapter(KapuaIdAdapter.class)
35: public KapuaId getJobId() {
36: return jobId;
37: }
38:
39: public void setJobId(KapuaId jobId) {
40: this.jobId = jobId;
41: }
42:
43: @XmlElement(name = "isRunning")
44: public Boolean isRunning() {
45: return isRunning;
46: }
47:
48: public void setRunning(Boolean isRunning) {
49: this.isRunning = isRunning;
50: }
51:
52: }