org.hudsonci.maven.model.state
Class BuildStateDTO

java.lang.Object
  extended by org.hudsonci.maven.model.state.BuildStateDTO
All Implemented Interfaces:
Serializable

@Generated(value="XJC hudson-jaxb-ri-2.1-2",
           date="2011-12-06T19:15:37")
public class BuildStateDTO
extends Object
implements Serializable

Java class for buildState complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="buildState">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="buildConfiguration" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}buildConfiguration"/>
         <element name="executionActivity" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}executionActivity" maxOccurs="unbounded"/>
         <element name="runtimeEnvironment" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}runtimeEnvironment"/>
         <element name="participatingProject" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}mavenProject" maxOccurs="unbounded"/>
         <element name="artifact" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}artifact" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<ArtifactDTO> artifacts
           
protected  BuildConfigurationDTO buildConfiguration
           
protected  List<ExecutionActivityDTO> executionActivities
           
protected  List<MavenProjectDTO> participatingProjects
           
protected  RuntimeEnvironmentDTO runtimeEnvironment
           
 
Constructor Summary
BuildStateDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<ArtifactDTO> getArtifacts()
          Gets the value of the artifacts property.
 BuildConfigurationDTO getBuildConfiguration()
          Gets the value of the buildConfiguration property.
 List<ExecutionActivityDTO> getExecutionActivities()
          Gets the value of the executionActivities property.
 List<MavenProjectDTO> getParticipatingProjects()
          Gets the value of the participatingProjects property.
 RuntimeEnvironmentDTO getRuntimeEnvironment()
          Gets the value of the runtimeEnvironment property.
 int hashCode()
           
 void setBuildConfiguration(BuildConfigurationDTO value)
          Sets the value of the buildConfiguration property.
 void setRuntimeEnvironment(RuntimeEnvironmentDTO value)
          Sets the value of the runtimeEnvironment property.
 BuildStateDTO withArtifacts(ArtifactDTO... values)
           
 BuildStateDTO withArtifacts(Collection<ArtifactDTO> values)
           
 BuildStateDTO withBuildConfiguration(BuildConfigurationDTO value)
           
 BuildStateDTO withExecutionActivities(Collection<ExecutionActivityDTO> values)
           
 BuildStateDTO withExecutionActivities(ExecutionActivityDTO... values)
           
 BuildStateDTO withParticipatingProjects(Collection<MavenProjectDTO> values)
           
 BuildStateDTO withParticipatingProjects(MavenProjectDTO... values)
           
 BuildStateDTO withRuntimeEnvironment(RuntimeEnvironmentDTO value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buildConfiguration

protected BuildConfigurationDTO buildConfiguration

executionActivities

protected List<ExecutionActivityDTO> executionActivities

runtimeEnvironment

protected RuntimeEnvironmentDTO runtimeEnvironment

participatingProjects

protected List<MavenProjectDTO> participatingProjects

artifacts

protected List<ArtifactDTO> artifacts
Constructor Detail

BuildStateDTO

public BuildStateDTO()
Method Detail

getBuildConfiguration

public BuildConfigurationDTO getBuildConfiguration()
Gets the value of the buildConfiguration property.

Returns:
possible object is BuildConfigurationDTO

setBuildConfiguration

public void setBuildConfiguration(BuildConfigurationDTO value)
Sets the value of the buildConfiguration property.

Parameters:
value - allowed object is BuildConfigurationDTO

getExecutionActivities

public List<ExecutionActivityDTO> getExecutionActivities()
Gets the value of the executionActivities property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the executionActivities property.

For example, to add a new item, do as follows:

    getExecutionActivities().add(newItem);
 

Objects of the following type(s) are allowed in the list ExecutionActivityDTO


getRuntimeEnvironment

public RuntimeEnvironmentDTO getRuntimeEnvironment()
Gets the value of the runtimeEnvironment property.

Returns:
possible object is RuntimeEnvironmentDTO

setRuntimeEnvironment

public void setRuntimeEnvironment(RuntimeEnvironmentDTO value)
Sets the value of the runtimeEnvironment property.

Parameters:
value - allowed object is RuntimeEnvironmentDTO

getParticipatingProjects

public List<MavenProjectDTO> getParticipatingProjects()
Gets the value of the participatingProjects property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the participatingProjects property.

For example, to add a new item, do as follows:

    getParticipatingProjects().add(newItem);
 

Objects of the following type(s) are allowed in the list MavenProjectDTO


getArtifacts

public List<ArtifactDTO> getArtifacts()
Gets the value of the artifacts property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the artifacts property.

For example, to add a new item, do as follows:

    getArtifacts().add(newItem);
 

Objects of the following type(s) are allowed in the list ArtifactDTO


withBuildConfiguration

public BuildStateDTO withBuildConfiguration(BuildConfigurationDTO value)

withExecutionActivities

public BuildStateDTO withExecutionActivities(ExecutionActivityDTO... values)

withExecutionActivities

public BuildStateDTO withExecutionActivities(Collection<ExecutionActivityDTO> values)

withRuntimeEnvironment

public BuildStateDTO withRuntimeEnvironment(RuntimeEnvironmentDTO value)

withParticipatingProjects

public BuildStateDTO withParticipatingProjects(MavenProjectDTO... values)

withParticipatingProjects

public BuildStateDTO withParticipatingProjects(Collection<MavenProjectDTO> values)

withArtifacts

public BuildStateDTO withArtifacts(ArtifactDTO... values)

withArtifacts

public BuildStateDTO withArtifacts(Collection<ArtifactDTO> values)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2011 Hudson. All Rights Reserved.