|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.eventconf.Security
public class Security
Security settings for this configuration
| Constructor Summary | |
|---|---|
Security()
|
|
| Method Summary | |
|---|---|
void |
addDoNotOverride(int index,
String vDoNotOverride)
|
void |
addDoNotOverride(String vDoNotOverride)
|
Enumeration<String> |
enumerateDoNotOverride()
Method enumerateDoNotOverride. |
String[] |
getDoNotOverride()
Method getDoNotOverride.Returns the contents of the collection in an Array. |
String |
getDoNotOverride(int index)
Method getDoNotOverride. |
List<String> |
getDoNotOverrideCollection()
Method getDoNotOverrideCollection.Returns a reference to '_doNotOverrideList'. |
int |
getDoNotOverrideCount()
Method getDoNotOverrideCount. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateDoNotOverride()
Method iterateDoNotOverride. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllDoNotOverride()
|
boolean |
removeDoNotOverride(String vDoNotOverride)
Method removeDoNotOverride. |
String |
removeDoNotOverrideAt(int index)
Method removeDoNotOverrideAt. |
void |
setDoNotOverride(int index,
String vDoNotOverride)
|
void |
setDoNotOverride(List<String> vDoNotOverrideList)
Sets the value of '_doNotOverrideList' by copying the given Vector. |
void |
setDoNotOverride(String[] vDoNotOverrideArray)
|
void |
setDoNotOverrideCollection(List<String> doNotOverrideList)
Deprecated. |
static Security |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Security()
| Method Detail |
|---|
public void addDoNotOverride(String vDoNotOverride)
throws IndexOutOfBoundsException
vDoNotOverride -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addDoNotOverride(int index,
String vDoNotOverride)
throws IndexOutOfBoundsException
index - vDoNotOverride -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateDoNotOverride()
public String getDoNotOverride(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getDoNotOverride()
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<String> getDoNotOverrideCollection()
public int getDoNotOverrideCount()
public boolean isValid()
public Iterator<String> iterateDoNotOverride()
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 removeAllDoNotOverride()
public boolean removeDoNotOverride(String vDoNotOverride)
vDoNotOverride -
public String removeDoNotOverrideAt(int index)
index -
public void setDoNotOverride(int index,
String vDoNotOverride)
throws IndexOutOfBoundsException
index - vDoNotOverride -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setDoNotOverride(String[] vDoNotOverrideArray)
vDoNotOverrideArray - public void setDoNotOverride(List<String> vDoNotOverrideList)
vDoNotOverrideList - the Vector to copy.public void setDoNotOverrideCollection(List<String> doNotOverrideList)
doNotOverrideList - the Vector to set.
public static Security 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 | ||||||||