org.hpccsystems.ws.client.platform.ClusterInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wsclient Show documentation
Show all versions of wsclient Show documentation
This project allows a user to interact with ESP services in a controlled manner. The API calls available under org.hpccsystems.ws.client.platform allow for a user to target ESP's across multiple environments running a range of hpccsystems-platform versions. There is no guarantee that if a user utilizes org.hpccsystems.ws.client.gen generated stub code from wsdl, that the calls will be backwards compatible with older hpccsystems-platform versions.
package org.hpccsystems.ws.client.platform;
import org.hpccsystems.ws.client.gen.wsworkunits.v1_74.ClusterQueryState;
public class ClusterInfo {
String name;
String errors;
boolean mixedNodeStates;
String state;
public ClusterInfo() {
}
public ClusterInfo(ClusterQueryState raw) {
this.name=raw.getCluster();
this.state=raw.getState();
this.errors=raw.getErrors();
this.mixedNodeStates=raw.getMixedNodeStates();
}
public String getCluster() {
return name;
}
public void setCluster(String name) {
this.name = name;
}
public String getErrors() {
return errors;
}
public void setErrors(String errors) {
this.errors = errors;
}
public boolean isMixedNodeStates() {
return mixedNodeStates;
}
public void setMixedNodeStates(boolean mixedNodeStates) {
this.mixedNodeStates = mixedNodeStates;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
@Override
public String toString() {
return "ClusterInfo [name=" + name + ", errors=" + errors + ", mixedNodeStates=" + mixedNodeStates + ", state="
+ state + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy