org.hudsonci.maven.model.state
Class ArtifactActionDTO

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

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

Java class for artifactAction complex type.

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

 <complexType name="artifactAction">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="projectId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="operation" use="required" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}artifactOperation" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  ArtifactOperationDTO operation
           
protected  String projectId
           
 
Constructor Summary
ArtifactActionDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 ArtifactOperationDTO getOperation()
          Gets the value of the operation property.
 String getProjectId()
          Gets the value of the projectId property.
 int hashCode()
           
 void setOperation(ArtifactOperationDTO value)
          Sets the value of the operation property.
 void setProjectId(String value)
          Sets the value of the projectId property.
 ArtifactActionDTO withOperation(ArtifactOperationDTO value)
           
 ArtifactActionDTO withProjectId(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

projectId

@XStreamAsAttribute
protected String projectId

operation

@XStreamAsAttribute
protected ArtifactOperationDTO operation
Constructor Detail

ArtifactActionDTO

public ArtifactActionDTO()
Method Detail

getProjectId

public String getProjectId()
Gets the value of the projectId property.

Returns:
possible object is String

setProjectId

public void setProjectId(String value)
Sets the value of the projectId property.

Parameters:
value - allowed object is String

getOperation

public ArtifactOperationDTO getOperation()
Gets the value of the operation property.

Returns:
possible object is ArtifactOperationDTO

setOperation

public void setOperation(ArtifactOperationDTO value)
Sets the value of the operation property.

Parameters:
value - allowed object is ArtifactOperationDTO

withProjectId

public ArtifactActionDTO withProjectId(String value)

withOperation

public ArtifactActionDTO withOperation(ArtifactOperationDTO 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.