|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.scriptd.ScriptdConfiguration
public class ScriptdConfiguration
Top-level element for the scriptd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
ScriptdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addEngine(Engine vEngine)
Method addEngine |
void |
addEngine(int index,
Engine vEngine)
Method addEngine |
void |
addEventScript(EventScript vEventScript)
Method addEventScript |
void |
addEventScript(int index,
EventScript vEventScript)
Method addEventScript |
void |
addReloadScript(int index,
ReloadScript vReloadScript)
Method addReloadScript |
void |
addReloadScript(ReloadScript vReloadScript)
Method addReloadScript |
void |
addStartScript(int index,
StartScript vStartScript)
Method addStartScript |
void |
addStartScript(StartScript vStartScript)
Method addStartScript |
void |
addStopScript(int index,
StopScript vStopScript)
Method addStopScript |
void |
addStopScript(StopScript vStopScript)
Method addStopScript |
void |
clearEngine()
Method clearEngine |
void |
clearEventScript()
Method clearEventScript |
void |
clearReloadScript()
Method clearReloadScript |
void |
clearStartScript()
Method clearStartScript |
void |
clearStopScript()
Method clearStopScript |
java.util.Enumeration |
enumerateEngine()
Method enumerateEngine |
java.util.Enumeration |
enumerateEventScript()
Method enumerateEventScript |
java.util.Enumeration |
enumerateReloadScript()
Method enumerateReloadScript |
java.util.Enumeration |
enumerateStartScript()
Method enumerateStartScript |
java.util.Enumeration |
enumerateStopScript()
Method enumerateStopScript |
Engine[] |
getEngine()
Method getEngine |
Engine |
getEngine(int index)
Method getEngine |
java.util.ArrayList |
getEngineCollection()
Method getEngineCollection Returns a reference to 'engine'. |
int |
getEngineCount()
Method getEngineCount |
EventScript[] |
getEventScript()
Method getEventScript |
EventScript |
getEventScript(int index)
Method getEventScript |
java.util.ArrayList |
getEventScriptCollection()
Method getEventScriptCollection Returns a reference to 'eventScript'. |
int |
getEventScriptCount()
Method getEventScriptCount |
ReloadScript[] |
getReloadScript()
Method getReloadScript |
ReloadScript |
getReloadScript(int index)
Method getReloadScript |
java.util.ArrayList |
getReloadScriptCollection()
Method getReloadScriptCollection Returns a reference to 'reloadScript'. |
int |
getReloadScriptCount()
Method getReloadScriptCount |
StartScript[] |
getStartScript()
Method getStartScript |
StartScript |
getStartScript(int index)
Method getStartScript |
java.util.ArrayList |
getStartScriptCollection()
Method getStartScriptCollection Returns a reference to 'startScript'. |
int |
getStartScriptCount()
Method getStartScriptCount |
StopScript[] |
getStopScript()
Method getStopScript |
StopScript |
getStopScript(int index)
Method getStopScript |
java.util.ArrayList |
getStopScriptCollection()
Method getStopScriptCollection Returns a reference to 'stopScript'. |
int |
getStopScriptCount()
Method getStopScriptCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeEngine(Engine vEngine)
Method removeEngine |
boolean |
removeEventScript(EventScript vEventScript)
Method removeEventScript |
boolean |
removeReloadScript(ReloadScript vReloadScript)
Method removeReloadScript |
boolean |
removeStartScript(StartScript vStartScript)
Method removeStartScript |
boolean |
removeStopScript(StopScript vStopScript)
Method removeStopScript |
void |
setEngine(java.util.ArrayList engineCollection)
Method setEngine Sets the value of 'engine' by copying the given ArrayList. |
void |
setEngine(Engine[] engineArray)
Method setEngine |
void |
setEngine(int index,
Engine vEngine)
Method setEngine |
void |
setEngineCollection(java.util.ArrayList engineCollection)
Method setEngineCollection Sets the value of 'engine' by setting it to the given ArrayList. |
void |
setEventScript(java.util.ArrayList eventScriptCollection)
Method setEventScript Sets the value of 'eventScript' by copying the given ArrayList. |
void |
setEventScript(EventScript[] eventScriptArray)
Method setEventScript |
void |
setEventScript(int index,
EventScript vEventScript)
Method setEventScript |
void |
setEventScriptCollection(java.util.ArrayList eventScriptCollection)
Method setEventScriptCollection Sets the value of 'eventScript' by setting it to the given ArrayList. |
void |
setReloadScript(java.util.ArrayList reloadScriptCollection)
Method setReloadScript Sets the value of 'reloadScript' by copying the given ArrayList. |
void |
setReloadScript(int index,
ReloadScript vReloadScript)
Method setReloadScript |
void |
setReloadScript(ReloadScript[] reloadScriptArray)
Method setReloadScript |
void |
setReloadScriptCollection(java.util.ArrayList reloadScriptCollection)
Method setReloadScriptCollection Sets the value of 'reloadScript' by setting it to the given ArrayList. |
void |
setStartScript(java.util.ArrayList startScriptCollection)
Method setStartScript Sets the value of 'startScript' by copying the given ArrayList. |
void |
setStartScript(int index,
StartScript vStartScript)
Method setStartScript |
void |
setStartScript(StartScript[] startScriptArray)
Method setStartScript |
void |
setStartScriptCollection(java.util.ArrayList startScriptCollection)
Method setStartScriptCollection Sets the value of 'startScript' by setting it to the given ArrayList. |
void |
setStopScript(java.util.ArrayList stopScriptCollection)
Method setStopScript Sets the value of 'stopScript' by copying the given ArrayList. |
void |
setStopScript(int index,
StopScript vStopScript)
Method setStopScript |
void |
setStopScript(StopScript[] stopScriptArray)
Method setStopScript |
void |
setStopScriptCollection(java.util.ArrayList stopScriptCollection)
Method setStopScriptCollection Sets the value of 'stopScript' by setting it to the given ArrayList. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptdConfiguration()
| Method Detail |
|---|
public void addEngine(Engine vEngine)
throws java.lang.IndexOutOfBoundsException
vEngine -
java.lang.IndexOutOfBoundsException
public void addEngine(int index,
Engine vEngine)
throws java.lang.IndexOutOfBoundsException
index - vEngine -
java.lang.IndexOutOfBoundsException
public void addEventScript(EventScript vEventScript)
throws java.lang.IndexOutOfBoundsException
vEventScript -
java.lang.IndexOutOfBoundsException
public void addEventScript(int index,
EventScript vEventScript)
throws java.lang.IndexOutOfBoundsException
index - vEventScript -
java.lang.IndexOutOfBoundsException
public void addReloadScript(ReloadScript vReloadScript)
throws java.lang.IndexOutOfBoundsException
vReloadScript -
java.lang.IndexOutOfBoundsException
public void addReloadScript(int index,
ReloadScript vReloadScript)
throws java.lang.IndexOutOfBoundsException
index - vReloadScript -
java.lang.IndexOutOfBoundsException
public void addStartScript(StartScript vStartScript)
throws java.lang.IndexOutOfBoundsException
vStartScript -
java.lang.IndexOutOfBoundsException
public void addStartScript(int index,
StartScript vStartScript)
throws java.lang.IndexOutOfBoundsException
index - vStartScript -
java.lang.IndexOutOfBoundsException
public void addStopScript(StopScript vStopScript)
throws java.lang.IndexOutOfBoundsException
vStopScript -
java.lang.IndexOutOfBoundsException
public void addStopScript(int index,
StopScript vStopScript)
throws java.lang.IndexOutOfBoundsException
index - vStopScript -
java.lang.IndexOutOfBoundsExceptionpublic void clearEngine()
public void clearEventScript()
public void clearReloadScript()
public void clearStartScript()
public void clearStopScript()
public java.util.Enumeration enumerateEngine()
public java.util.Enumeration enumerateEventScript()
public java.util.Enumeration enumerateReloadScript()
public java.util.Enumeration enumerateStartScript()
public java.util.Enumeration enumerateStopScript()
public Engine getEngine(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Engine[] getEngine()
public java.util.ArrayList getEngineCollection()
public int getEngineCount()
public EventScript getEventScript(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic EventScript[] getEventScript()
public java.util.ArrayList getEventScriptCollection()
public int getEventScriptCount()
public ReloadScript getReloadScript(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic ReloadScript[] getReloadScript()
public java.util.ArrayList getReloadScriptCollection()
public int getReloadScriptCount()
public StartScript getStartScript(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic StartScript[] getStartScript()
public java.util.ArrayList getStartScriptCollection()
public int getStartScriptCount()
public StopScript getStopScript(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic StopScript[] getStopScript()
public java.util.ArrayList getStopScriptCollection()
public int getStopScriptCount()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeEngine(Engine vEngine)
vEngine -
public boolean removeEventScript(EventScript vEventScript)
vEventScript -
public boolean removeReloadScript(ReloadScript vReloadScript)
vReloadScript -
public boolean removeStartScript(StartScript vStartScript)
vStartScript -
public boolean removeStopScript(StopScript vStopScript)
vStopScript -
public void setEngine(int index,
Engine vEngine)
throws java.lang.IndexOutOfBoundsException
index - vEngine -
java.lang.IndexOutOfBoundsExceptionpublic void setEngine(Engine[] engineArray)
engineArray - public void setEngine(java.util.ArrayList engineCollection)
engineCollection - the Vector to copy.public void setEngineCollection(java.util.ArrayList engineCollection)
engineCollection - the ArrayList to copy.
public void setEventScript(int index,
EventScript vEventScript)
throws java.lang.IndexOutOfBoundsException
index - vEventScript -
java.lang.IndexOutOfBoundsExceptionpublic void setEventScript(EventScript[] eventScriptArray)
eventScriptArray - public void setEventScript(java.util.ArrayList eventScriptCollection)
eventScriptCollection - the Vector to copy.public void setEventScriptCollection(java.util.ArrayList eventScriptCollection)
eventScriptCollection - the ArrayList to copy.
public void setReloadScript(int index,
ReloadScript vReloadScript)
throws java.lang.IndexOutOfBoundsException
index - vReloadScript -
java.lang.IndexOutOfBoundsExceptionpublic void setReloadScript(ReloadScript[] reloadScriptArray)
reloadScriptArray - public void setReloadScript(java.util.ArrayList reloadScriptCollection)
reloadScriptCollection - the Vector to copy.public void setReloadScriptCollection(java.util.ArrayList reloadScriptCollection)
reloadScriptCollection - the ArrayList to copy.
public void setStartScript(int index,
StartScript vStartScript)
throws java.lang.IndexOutOfBoundsException
index - vStartScript -
java.lang.IndexOutOfBoundsExceptionpublic void setStartScript(StartScript[] startScriptArray)
startScriptArray - public void setStartScript(java.util.ArrayList startScriptCollection)
startScriptCollection - the Vector to copy.public void setStartScriptCollection(java.util.ArrayList startScriptCollection)
startScriptCollection - the ArrayList to copy.
public void setStopScript(int index,
StopScript vStopScript)
throws java.lang.IndexOutOfBoundsException
index - vStopScript -
java.lang.IndexOutOfBoundsExceptionpublic void setStopScript(StopScript[] stopScriptArray)
stopScriptArray - public void setStopScript(java.util.ArrayList stopScriptCollection)
stopScriptCollection - the Vector to copy.public void setStopScriptCollection(java.util.ArrayList stopScriptCollection)
stopScriptCollection - the ArrayList to copy.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||