org.hudsonci.maven.model.state
Class ArtifactDTO

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

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

Java class for artifact complex type.

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

 <complexType name="artifact">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="coordinates" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}mavenCoordinates"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="action" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}artifactAction" maxOccurs="unbounded"/>
         <element name="repositoryFile" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="dependentProject" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
         <element name="consumingProject" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
         <element name="archivedFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="createdProject" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<ArtifactActionDTO> actions
           
protected  String archivedFile
           
protected  List<String> consumingProjects
           
protected  MavenCoordinatesDTO coordinates
           
protected  String createdProject
           
protected  List<String> dependentProjects
           
protected  String repositoryFile
           
protected  String type
           
 
Constructor Summary
ArtifactDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<ArtifactActionDTO> getActions()
          Gets the value of the actions property.
 String getArchivedFile()
          Gets the value of the archivedFile property.
 List<String> getConsumingProjects()
          Gets the value of the consumingProjects property.
 MavenCoordinatesDTO getCoordinates()
          Gets the value of the coordinates property.
 String getCreatedProject()
          Gets the value of the createdProject property.
 List<String> getDependentProjects()
          Gets the value of the dependentProjects property.
 String getRepositoryFile()
          Gets the value of the repositoryFile property.
 String getType()
          Gets the value of the type property.
 int hashCode()
           
 void setArchivedFile(String value)
          Sets the value of the archivedFile property.
 void setCoordinates(MavenCoordinatesDTO value)
          Sets the value of the coordinates property.
 void setCreatedProject(String value)
          Sets the value of the createdProject property.
 void setRepositoryFile(String value)
          Sets the value of the repositoryFile property.
 void setType(String value)
          Sets the value of the type property.
 ArtifactDTO withActions(ArtifactActionDTO... values)
           
 ArtifactDTO withActions(Collection<ArtifactActionDTO> values)
           
 ArtifactDTO withArchivedFile(String value)
           
 ArtifactDTO withConsumingProjects(Collection<String> values)
           
 ArtifactDTO withConsumingProjects(String... values)
           
 ArtifactDTO withCoordinates(MavenCoordinatesDTO value)
           
 ArtifactDTO withCreatedProject(String value)
           
 ArtifactDTO withDependentProjects(Collection<String> values)
           
 ArtifactDTO withDependentProjects(String... values)
           
 ArtifactDTO withRepositoryFile(String value)
           
 ArtifactDTO withType(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coordinates

protected MavenCoordinatesDTO coordinates

type

protected String type

actions

protected List<ArtifactActionDTO> actions

repositoryFile

protected String repositoryFile

dependentProjects

protected List<String> dependentProjects

consumingProjects

protected List<String> consumingProjects

archivedFile

protected String archivedFile

createdProject

@XStreamAsAttribute
protected String createdProject
Constructor Detail

ArtifactDTO

public ArtifactDTO()
Method Detail

getCoordinates

public MavenCoordinatesDTO getCoordinates()
Gets the value of the coordinates property.

Returns:
possible object is MavenCoordinatesDTO

setCoordinates

public void setCoordinates(MavenCoordinatesDTO value)
Sets the value of the coordinates property.

Parameters:
value - allowed object is MavenCoordinatesDTO

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getActions

public List<ArtifactActionDTO> getActions()
Gets the value of the actions 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 actions property.

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

    getActions().add(newItem);
 

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


getRepositoryFile

public String getRepositoryFile()
Gets the value of the repositoryFile property.

Returns:
possible object is String

setRepositoryFile

public void setRepositoryFile(String value)
Sets the value of the repositoryFile property.

Parameters:
value - allowed object is String

getDependentProjects

public List<String> getDependentProjects()
Gets the value of the dependentProjects 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 dependentProjects property.

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

    getDependentProjects().add(newItem);
 

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


getConsumingProjects

public List<String> getConsumingProjects()
Gets the value of the consumingProjects 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 consumingProjects property.

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

    getConsumingProjects().add(newItem);
 

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


getArchivedFile

public String getArchivedFile()
Gets the value of the archivedFile property.

Returns:
possible object is String

setArchivedFile

public void setArchivedFile(String value)
Sets the value of the archivedFile property.

Parameters:
value - allowed object is String

getCreatedProject

public String getCreatedProject()
Gets the value of the createdProject property.

Returns:
possible object is String

setCreatedProject

public void setCreatedProject(String value)
Sets the value of the createdProject property.

Parameters:
value - allowed object is String

withCoordinates

public ArtifactDTO withCoordinates(MavenCoordinatesDTO value)

withType

public ArtifactDTO withType(String value)

withActions

public ArtifactDTO withActions(ArtifactActionDTO... values)

withActions

public ArtifactDTO withActions(Collection<ArtifactActionDTO> values)

withRepositoryFile

public ArtifactDTO withRepositoryFile(String value)

withDependentProjects

public ArtifactDTO withDependentProjects(String... values)

withDependentProjects

public ArtifactDTO withDependentProjects(Collection<String> values)

withConsumingProjects

public ArtifactDTO withConsumingProjects(String... values)

withConsumingProjects

public ArtifactDTO withConsumingProjects(Collection<String> values)

withArchivedFile

public ArtifactDTO withArchivedFile(String value)

withCreatedProject

public ArtifactDTO withCreatedProject(String value)

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.