org.hudsonci.maven.model
Class InvocationDTO

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

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

Java class for invocation complex type.

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

 <complexType name="invocation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="method">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="arg" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="result" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
                   <element name="exception" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class InvocationDTO.Method
          Java class for anonymous complex type.
static class InvocationDTO.Result
          Java class for anonymous complex type.
 
Field Summary
protected  List<Object> args
           
protected  InvocationDTO.Method method
           
protected  InvocationDTO.Result result
           
 
Constructor Summary
InvocationDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Object> getArgs()
          Gets the value of the args property.
 InvocationDTO.Method getMethod()
          Gets the value of the method property.
 InvocationDTO.Result getResult()
          Gets the value of the result property.
 int hashCode()
           
 void setMethod(InvocationDTO.Method value)
          Sets the value of the method property.
 void setResult(InvocationDTO.Result value)
          Sets the value of the result property.
 InvocationDTO withArgs(Collection<Object> values)
           
 InvocationDTO withArgs(Object... values)
           
 InvocationDTO withMethod(InvocationDTO.Method value)
           
 InvocationDTO withResult(InvocationDTO.Result value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected InvocationDTO.Method method

args

protected List<Object> args

result

protected InvocationDTO.Result result
Constructor Detail

InvocationDTO

public InvocationDTO()
Method Detail

getMethod

public InvocationDTO.Method getMethod()
Gets the value of the method property.

Returns:
possible object is InvocationDTO.Method

setMethod

public void setMethod(InvocationDTO.Method value)
Sets the value of the method property.

Parameters:
value - allowed object is InvocationDTO.Method

getArgs

public List<Object> getArgs()
Gets the value of the args 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 args property.

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

    getArgs().add(newItem);
 

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


getResult

public InvocationDTO.Result getResult()
Gets the value of the result property.

Returns:
possible object is InvocationDTO.Result

setResult

public void setResult(InvocationDTO.Result value)
Sets the value of the result property.

Parameters:
value - allowed object is InvocationDTO.Result

withMethod

public InvocationDTO withMethod(InvocationDTO.Method value)

withArgs

public InvocationDTO withArgs(Object... values)

withArgs

public InvocationDTO withArgs(Collection<Object> values)

withResult

public InvocationDTO withResult(InvocationDTO.Result 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.