All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hpccsystems.ws.client.platform.ClusterInfo Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 9.8.48-1
Show newest version
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