spd-model/src/main/java/org/gcube/data/spd/model/service/types/NodeStatus.java

35 lines
582 B
Java

package org.gcube.data.spd.model.service.types;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class NodeStatus {
@XmlElement
private String scientificName;
@XmlElement
private JobStatus status;
public NodeStatus(String scientificName, JobStatus status) {
super();
this.scientificName = scientificName;
this.status = status;
}
protected NodeStatus() {
super();
}
public String getScientificName() {
return scientificName;
}
public JobStatus getStatus() {
return status;
}
}