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

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

import org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.ThorLogInfo;

public class ThorLogInfoWrapper
{
    private String processName;
    private String clusterGroup;
    private String logDate;
    private Integer numberSlaves;

    /**
     * Instantiates a new thor log info wrapper.
     */
    public ThorLogInfoWrapper() {}

    /**
     * Instantiates a new thor log info wrapper.
     *
     * @param raw
     *            the raw
     */
    public ThorLogInfoWrapper(ThorLogInfo raw)
    {
        if (raw==null)
        {
            return;
        }

        this.setClusterGroup(raw.getClusterGroup());
        this.setLogDate(raw.getLogDate());
        this.setNumberSlaves(raw.getNumberSlaves());
        this.setProcessName(raw.getProcessName());
    }

    /**
     * Instantiates a new thor log info wrapper.
     *
     * @param raw
     *            the raw
     */
    public ThorLogInfoWrapper(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_58.ThorLogInfo raw)
    {
        if (raw==null)
        {
            return;
        }

        this.setClusterGroup(raw.getClusterGroup());
        this.setLogDate(raw.getLogDate());
        this.setNumberSlaves(raw.getNumberSlaves());
        this.setProcessName(raw.getProcessName());
    }

    /**
     * Instantiates a new thor log info wrapper.
     *
     * @param raw
     *            the raw
     */
    public ThorLogInfoWrapper(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_62.ThorLogInfo raw)
    {
        if (raw==null)
        {
            return;
        }

        this.setClusterGroup(raw.getClusterGroup());
        this.setLogDate(raw.getLogDate());
        this.setNumberSlaves(raw.getNumberSlaves());
        this.setProcessName(raw.getProcessName());
    }

    /**
     * Instantiates a new thor log info wrapper.
     *
     * @param raw
     *            the raw
     */
    public ThorLogInfoWrapper(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_69.ThorLogInfo raw)
    {
        if (raw==null)
        {
            return;
        }

        this.setClusterGroup(raw.getClusterGroup());
        this.setLogDate(raw.getLogDate());
        this.setNumberSlaves(raw.getNumberSlaves());
        this.setProcessName(raw.getProcessName());
    }

    /**
     * Instantiates a new thor log info wrapper.
     *
     * @param raw
     *            the raw
     */
    public ThorLogInfoWrapper(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_56.ThorLogInfo raw)
    {
        if (raw==null)
        {
            return;
        }

        this.setClusterGroup(raw.getClusterGroup());
        this.setLogDate(raw.getLogDate());
        this.setNumberSlaves(raw.getNumberSlaves());
        this.setProcessName(raw.getProcessName());
    }

    /**
     * Gets the raw.
     *
     * @return the raw
     */
    public org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.ThorLogInfo getRaw()
    {
        return this.getRawVersion1_75();
    }

    /**
     * Gets the raw version 1 75.
     *
     * @return the raw version 1 75
     */
    public org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.ThorLogInfo getRawVersion1_75()
    {
        org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.ThorLogInfo raw =
                new org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.ThorLogInfo();

        raw.setClusterGroup(this.getClusterGroup());
        raw.setLogDate(this.getLogDate());
        raw.setNumberSlaves(this.getNumberSlaves());
        raw.setProcessName(this.getProcessName());
        return raw;
    }

    /**
     * Gets the process name.
     *
     * @return the processName
     */
    public String getProcessName()
    {
        return processName;
    }

    /**
     * Sets the process name.
     *
     * @param processName
     *            the processName to set
     */
    public void setProcessName(String processName)
    {
        this.processName = processName;
    }

    /**
     * Gets the cluster group.
     *
     * @return the clusterGroup
     */
    public String getClusterGroup()
    {
        return clusterGroup;
    }

    /**
     * Sets the cluster group.
     *
     * @param clusterGroup
     *            the clusterGroup to set
     */
    public void setClusterGroup(String clusterGroup)
    {
        this.clusterGroup = clusterGroup;
    }

    /**
     * Gets the log date.
     *
     * @return the logDate
     */
    public String getLogDate()
    {
        return logDate;
    }

    /**
     * Sets the log date.
     *
     * @param logDate
     *            the logDate to set
     */
    public void setLogDate(String logDate)
    {
        this.logDate = logDate;
    }

    /**
     * Gets the number slaves.
     *
     * @return the numberSlaves
     */
    public Integer getNumberSlaves()
    {
        return numberSlaves;
    }

    /**
     * Sets the number slaves.
     *
     * @param numberSlaves
     *            the numberSlaves to set
     */
    public void setNumberSlaves(Integer numberSlaves)
    {
        this.numberSlaves = numberSlaves;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "ThorLogInfoWrapper [processName=" + processName + ", clusterGroup=" + clusterGroup + ", logDate="
                + logDate + ", numberSlaves=" + numberSlaves + "]";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy