org.hudsonci.maven.model.state.RuntimeEnvironmentDTO Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.06.15 at 07:34:37 PM PDT
//
package org.hudsonci.maven.model.state;
import java.io.Serializable;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.flipthebird.gwthashcodeequals.EqualsBuilder;
import com.flipthebird.gwthashcodeequals.HashCodeBuilder;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import org.codehaus.jackson.annotate.JsonProperty;
import org.hudsonci.maven.model.PropertiesDTO;
/**
* Java class for runtimeEnvironment complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="runtimeEnvironment">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="versionProperties" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}properties"/>
* <element name="userProperties" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}properties"/>
* <element name="systemProperties" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}properties"/>
* <element name="systemEnvironment" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}properties"/>
* <element name="workingDirectory" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "runtimeEnvironment", propOrder = {
"versionProperties",
"userProperties",
"systemProperties",
"systemEnvironment",
"workingDirectory"
})
@XStreamAlias("runtimeEnvironment")
@Generated(value = "XJC hudson-jaxb-ri-2.1-2", date = "2012-06-15T19:34:37")
public class RuntimeEnvironmentDTO
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
@JsonProperty("versionProperties")
protected PropertiesDTO versionProperties;
@XmlElement(required = true)
@JsonProperty("userProperties")
protected PropertiesDTO userProperties;
@XmlElement(required = true)
@JsonProperty("systemProperties")
protected PropertiesDTO systemProperties;
@XmlElement(required = true)
@JsonProperty("systemEnvironment")
protected PropertiesDTO systemEnvironment;
@XmlElement(required = true)
@JsonProperty("workingDirectory")
protected String workingDirectory;
/**
* Gets the value of the versionProperties property.
*
* @return
* possible object is
* {@link PropertiesDTO }
*
*/
public PropertiesDTO getVersionProperties() {
return versionProperties;
}
/**
* Sets the value of the versionProperties property.
*
* @param value
* allowed object is
* {@link PropertiesDTO }
*
*/
public void setVersionProperties(PropertiesDTO value) {
this.versionProperties = value;
}
/**
* Gets the value of the userProperties property.
*
* @return
* possible object is
* {@link PropertiesDTO }
*
*/
public PropertiesDTO getUserProperties() {
return userProperties;
}
/**
* Sets the value of the userProperties property.
*
* @param value
* allowed object is
* {@link PropertiesDTO }
*
*/
public void setUserProperties(PropertiesDTO value) {
this.userProperties = value;
}
/**
* Gets the value of the systemProperties property.
*
* @return
* possible object is
* {@link PropertiesDTO }
*
*/
public PropertiesDTO getSystemProperties() {
return systemProperties;
}
/**
* Sets the value of the systemProperties property.
*
* @param value
* allowed object is
* {@link PropertiesDTO }
*
*/
public void setSystemProperties(PropertiesDTO value) {
this.systemProperties = value;
}
/**
* Gets the value of the systemEnvironment property.
*
* @return
* possible object is
* {@link PropertiesDTO }
*
*/
public PropertiesDTO getSystemEnvironment() {
return systemEnvironment;
}
/**
* Sets the value of the systemEnvironment property.
*
* @param value
* allowed object is
* {@link PropertiesDTO }
*
*/
public void setSystemEnvironment(PropertiesDTO value) {
this.systemEnvironment = value;
}
/**
* Gets the value of the workingDirectory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWorkingDirectory() {
return workingDirectory;
}
/**
* Sets the value of the workingDirectory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWorkingDirectory(String value) {
this.workingDirectory = value;
}
public RuntimeEnvironmentDTO withVersionProperties(PropertiesDTO value) {
setVersionProperties(value);
return this;
}
public RuntimeEnvironmentDTO withUserProperties(PropertiesDTO value) {
setUserProperties(value);
return this;
}
public RuntimeEnvironmentDTO withSystemProperties(PropertiesDTO value) {
setSystemProperties(value);
return this;
}
public RuntimeEnvironmentDTO withSystemEnvironment(PropertiesDTO value) {
setSystemEnvironment(value);
return this;
}
public RuntimeEnvironmentDTO withWorkingDirectory(String value) {
setWorkingDirectory(value);
return this;
}
@Override
public boolean equals(final Object obj) {
if (obj == null) {
return false;
}
if (this == obj) {
return true;
}
if (!(obj instanceof RuntimeEnvironmentDTO)) {
return false;
}
final RuntimeEnvironmentDTO that = ((RuntimeEnvironmentDTO) obj);
final EqualsBuilder builder = new EqualsBuilder();
builder.append(this.getVersionProperties(), that.getVersionProperties());
builder.append(this.getUserProperties(), that.getUserProperties());
builder.append(this.getSystemProperties(), that.getSystemProperties());
builder.append(this.getSystemEnvironment(), that.getSystemEnvironment());
builder.append(this.getWorkingDirectory(), that.getWorkingDirectory());
return builder.build();
}
@Override
public int hashCode() {
final HashCodeBuilder builder = new HashCodeBuilder();
builder.append(this.getVersionProperties());
builder.append(this.getUserProperties());
builder.append(this.getSystemProperties());
builder.append(this.getSystemEnvironment());
builder.append(this.getWorkingDirectory());
return builder.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy