|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.maven.model.state.ArtifactDTO
@Generated(value="XJC hudson-jaxb-ri-2.1-2",
date="2011-12-06T19:15:37")
public class ArtifactDTO
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>
| 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 |
|---|
protected MavenCoordinatesDTO coordinates
protected String type
protected List<ArtifactActionDTO> actions
protected String repositoryFile
protected List<String> dependentProjects
protected List<String> consumingProjects
protected String archivedFile
@XStreamAsAttribute protected String createdProject
| Constructor Detail |
|---|
public ArtifactDTO()
| Method Detail |
|---|
public MavenCoordinatesDTO getCoordinates()
MavenCoordinatesDTOpublic void setCoordinates(MavenCoordinatesDTO value)
value - allowed object is
MavenCoordinatesDTOpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic List<ArtifactActionDTO> getActions()
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
public String getRepositoryFile()
Stringpublic void setRepositoryFile(String value)
value - allowed object is
Stringpublic List<String> getDependentProjects()
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
public List<String> getConsumingProjects()
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
public String getArchivedFile()
Stringpublic void setArchivedFile(String value)
value - allowed object is
Stringpublic String getCreatedProject()
Stringpublic void setCreatedProject(String value)
value - allowed object is
Stringpublic ArtifactDTO withCoordinates(MavenCoordinatesDTO value)
public ArtifactDTO withType(String value)
public ArtifactDTO withActions(ArtifactActionDTO... values)
public ArtifactDTO withActions(Collection<ArtifactActionDTO> values)
public ArtifactDTO withRepositoryFile(String value)
public ArtifactDTO withDependentProjects(String... values)
public ArtifactDTO withDependentProjects(Collection<String> values)
public ArtifactDTO withConsumingProjects(String... values)
public ArtifactDTO withConsumingProjects(Collection<String> values)
public ArtifactDTO withArchivedFile(String value)
public ArtifactDTO withCreatedProject(String value)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||