|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.service.Invoke
public class Invoke
Class Invoke.
| Constructor Summary | |
|---|---|
Invoke()
|
|
| Method Summary | |
|---|---|
void |
addArgument(Argument vArgument)
|
void |
addArgument(int index,
Argument vArgument)
|
void |
deletePass()
|
Enumeration<Argument> |
enumerateArgument()
Method enumerateArgument. |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method. |
Argument[] |
getArgument()
Method getArgument.Returns the contents of the collection in an Array. |
Argument |
getArgument(int index)
Method getArgument. |
List<Argument> |
getArgumentCollection()
Method getArgumentCollection.Returns a reference to '_argumentList'. |
int |
getArgumentCount()
Method getArgumentCount. |
InvokeAtType |
getAt()
Returns the value of field 'at'. |
String |
getMethod()
Returns the value of field 'method'. |
int |
getPass()
Returns the value of field 'pass'. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
hasPass()
Method hasPass. |
boolean |
isValid()
Method isValid. |
Iterator<Argument> |
iterateArgument()
Method iterateArgument. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllArgument()
|
boolean |
removeArgument(Argument vArgument)
Method removeArgument. |
Argument |
removeArgumentAt(int index)
Method removeArgumentAt. |
void |
setArgument(Argument[] vArgumentArray)
|
void |
setArgument(int index,
Argument vArgument)
|
void |
setArgument(List<Argument> vArgumentList)
Sets the value of '_argumentList' by copying the given Vector. |
void |
setArgumentCollection(List<Argument> argumentList)
Deprecated. |
void |
setAt(InvokeAtType at)
Sets the value of field 'at'. |
void |
setMethod(String method)
Sets the value of field 'method'. |
void |
setPass(int pass)
Sets the value of field 'pass'. |
static Invoke |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Invoke()
| Method Detail |
|---|
public void addArgument(Argument vArgument)
throws IndexOutOfBoundsException
vArgument -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addArgument(int index,
Argument vArgument)
throws IndexOutOfBoundsException
index - vArgument -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deletePass()
public Enumeration<Argument> enumerateArgument()
public boolean equals(Object obj)
equals in class Objectobj -
public Argument getArgument(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Argument[] getArgument()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Argument> getArgumentCollection()
public int getArgumentCount()
public InvokeAtType getAt()
public String getMethod()
public int getPass()
public boolean hasPass()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode in class Objectpublic boolean isValid()
public Iterator<Argument> iterateArgument()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllArgument()
public boolean removeArgument(Argument vArgument)
vArgument -
public Argument removeArgumentAt(int index)
index -
public void setArgument(int index,
Argument vArgument)
throws IndexOutOfBoundsException
index - vArgument -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setArgument(Argument[] vArgumentArray)
vArgumentArray - public void setArgument(List<Argument> vArgumentList)
vArgumentList - the Vector to copy.public void setArgumentCollection(List<Argument> argumentList)
argumentList - the Vector to set.public void setAt(InvokeAtType at)
at - the value of field 'at'.public void setMethod(String method)
method - the value of field 'method'.public void setPass(int pass)
pass - the value of field 'pass'.
public static Invoke unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||