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

org.hpccsystems.ws.client.wrappers.ClusterQueryWrapper 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.20-1
Show newest version
package org.hpccsystems.ws.client.wrappers;

@Deprecated
public class ClusterQueryWrapper
{

    String  name;
    String  errors;
    boolean mixedNodeStates;
    String  state;

    /**
     * Instantiates a new cluster query wrapper.
     */
    public ClusterQueryWrapper() {}

    /**
     * Instantiates a new cluster query wrapper.
     *
     * @param raw
     *            the raw
     */
    public ClusterQueryWrapper(org.hpccsystems.ws.client.gen.axis2.wsworkunits.latest.ClusterQueryState raw)
    {
        this.name = raw.getCluster();
        this.state = raw.getState();
        this.errors = raw.getErrors();
        this.mixedNodeStates = raw.getMixedNodeStates();
    }

    /**
     * Gets the cluster.
     *
     * @return the cluster
     */
    public String getCluster()
    {
        return name;
    }

    /**
     * Sets the cluster.
     *
     * @param name
     *            the new cluster
     */
    public void setCluster(String name)
    {
        this.name = name;
    }

    /**
     * Gets the errors.
     *
     * @return the errors
     */
    public String getErrors()
    {
        return errors;
    }

    /**
     * Sets the errors.
     *
     * @param errors
     *            the new errors
     */
    public void setErrors(String errors)
    {
        this.errors = errors;
    }

    /**
     * Checks if is mixed node states.
     *
     * @return true, if is mixed node states
     */
    public boolean isMixedNodeStates()
    {
        return mixedNodeStates;
    }

    /**
     * Sets the mixed node states.
     *
     * @param mixedNodeStates
     *            the new mixed node states
     */
    public void setMixedNodeStates(boolean mixedNodeStates)
    {
        this.mixedNodeStates = mixedNodeStates;
    }

    /**
     * Gets the state.
     *
     * @return the state
     */
    public String getState()
    {
        return state;
    }

    /**
     * Sets the state.
     *
     * @param state
     *            the new state
     */
    public void setState(String state)
    {
        this.state = state;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "ClusterInfo [name=" + name + ", errors=" + errors + ", mixedNodeStates=" + mixedNodeStates + ", state=" + state + "]";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy