|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.snmp.Definition
public class Definition
Provides a mechanism for associating one or more specific IP addresses and/or IP address ranges with a set of SNMP parms which will be used in place of the default values during SNMP data collection.
| Constructor Summary | |
|---|---|
Definition()
|
|
| Method Summary | |
|---|---|
void |
addIpMatch(int index,
java.lang.String vIpMatch)
Method addIpMatch |
void |
addIpMatch(java.lang.String vIpMatch)
Method addIpMatch |
void |
addRange(int index,
Range vRange)
Method addRange |
void |
addRange(Range vRange)
Method addRange |
void |
addSpecific(int index,
java.lang.String vSpecific)
Method addSpecific |
void |
addSpecific(java.lang.String vSpecific)
Method addSpecific |
void |
clearIpMatch()
Method clearIpMatch |
void |
clearRange()
Method clearRange |
void |
clearSpecific()
Method clearSpecific |
void |
deleteMaxRequestSize()
Method deleteMaxRequestSize |
void |
deleteMaxVarsPerPdu()
Method deleteMaxVarsPerPdu |
void |
deletePort()
Method deletePort |
void |
deleteRetry()
Method deleteRetry |
void |
deleteTimeout()
Method deleteTimeout |
java.util.Enumeration |
enumerateIpMatch()
Method enumerateIpMatch |
java.util.Enumeration |
enumerateRange()
Method enumerateRange |
java.util.Enumeration |
enumerateSpecific()
Method enumerateSpecific |
java.lang.String |
getAuthPassphrase()
Returns the value of field 'authPassphrase'. |
java.lang.String |
getAuthProtocol()
Returns the value of field 'authProtocol'. |
java.lang.String |
getContextEngineId()
Returns the value of field 'contextEngineId'. |
java.lang.String |
getContextName()
Returns the value of field 'contextName'. |
java.lang.String |
getEngineId()
Returns the value of field 'engineId'. |
java.lang.String |
getEnterpriseId()
Returns the value of field 'enterpriseId'. |
java.lang.String[] |
getIpMatch()
Method getIpMatch |
java.lang.String |
getIpMatch(int index)
Method getIpMatch |
java.util.ArrayList |
getIpMatchCollection()
Method getIpMatchCollection Returns a reference to 'ipMatch'. |
int |
getIpMatchCount()
Method getIpMatchCount |
int |
getMaxRequestSize()
Returns the value of field 'maxRequestSize'. |
int |
getMaxVarsPerPdu()
Returns the value of field 'maxVarsPerPdu'. |
int |
getPort()
Returns the value of field 'port'. |
java.lang.String |
getPrivacyPassphrase()
Returns the value of field 'privacyPassphrase'. |
java.lang.String |
getPrivacyProtocol()
Returns the value of field 'privacyProtocol'. |
java.lang.String |
getProxyHost()
Returns the value of field 'proxyHost'. |
Range[] |
getRange()
Method getRange |
Range |
getRange(int index)
Method getRange |
java.util.ArrayList |
getRangeCollection()
Method getRangeCollection Returns a reference to 'range'. |
int |
getRangeCount()
Method getRangeCount |
java.lang.String |
getReadCommunity()
Returns the value of field 'readCommunity'. |
int |
getRetry()
Returns the value of field 'retry'. |
java.lang.String |
getSecurityName()
Returns the value of field 'securityName'. |
java.lang.String[] |
getSpecific()
Method getSpecific |
java.lang.String |
getSpecific(int index)
Method getSpecific |
java.util.ArrayList |
getSpecificCollection()
Method getSpecificCollection Returns a reference to 'specific'. |
int |
getSpecificCount()
Method getSpecificCount |
int |
getTimeout()
Returns the value of field 'timeout'. |
java.lang.String |
getVersion()
Returns the value of field 'version'. |
java.lang.String |
getWriteCommunity()
Returns the value of field 'writeCommunity'. |
boolean |
hasMaxRequestSize()
Method hasMaxRequestSize |
boolean |
hasMaxVarsPerPdu()
Method hasMaxVarsPerPdu |
boolean |
hasPort()
Method hasPort |
boolean |
hasRetry()
Method hasRetry |
boolean |
hasTimeout()
Method hasTimeout |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeIpMatch(java.lang.String vIpMatch)
Method removeIpMatch |
boolean |
removeRange(Range vRange)
Method removeRange |
boolean |
removeSpecific(java.lang.String vSpecific)
Method removeSpecific |
void |
setAuthPassphrase(java.lang.String authPassphrase)
Sets the value of field 'authPassphrase'. |
void |
setAuthProtocol(java.lang.String authProtocol)
Sets the value of field 'authProtocol'. |
void |
setContextEngineId(java.lang.String contextEngineId)
Sets the value of field 'contextEngineId'. |
void |
setContextName(java.lang.String contextName)
Sets the value of field 'contextName'. |
void |
setEngineId(java.lang.String engineId)
Sets the value of field 'engineId'. |
void |
setEnterpriseId(java.lang.String enterpriseId)
Sets the value of field 'enterpriseId'. |
void |
setIpMatch(java.util.ArrayList ipMatchCollection)
Method setIpMatch Sets the value of 'ipMatch' by copying the given ArrayList. |
void |
setIpMatch(int index,
java.lang.String vIpMatch)
Method setIpMatch |
void |
setIpMatch(java.lang.String[] ipMatchArray)
Method setIpMatch |
void |
setIpMatchCollection(java.util.ArrayList ipMatchCollection)
Method setIpMatchCollection Sets the value of 'ipMatch' by setting it to the given ArrayList. |
void |
setMaxRequestSize(int maxRequestSize)
Sets the value of field 'maxRequestSize'. |
void |
setMaxVarsPerPdu(int maxVarsPerPdu)
Sets the value of field 'maxVarsPerPdu'. |
void |
setPort(int port)
Sets the value of field 'port'. |
void |
setPrivacyPassphrase(java.lang.String privacyPassphrase)
Sets the value of field 'privacyPassphrase'. |
void |
setPrivacyProtocol(java.lang.String privacyProtocol)
Sets the value of field 'privacyProtocol'. |
void |
setProxyHost(java.lang.String proxyHost)
Sets the value of field 'proxyHost'. |
void |
setRange(java.util.ArrayList rangeCollection)
Method setRange Sets the value of 'range' by copying the given ArrayList. |
void |
setRange(int index,
Range vRange)
Method setRange |
void |
setRange(Range[] rangeArray)
Method setRange |
void |
setRangeCollection(java.util.ArrayList rangeCollection)
Method setRangeCollection Sets the value of 'range' by setting it to the given ArrayList. |
void |
setReadCommunity(java.lang.String readCommunity)
Sets the value of field 'readCommunity'. |
void |
setRetry(int retry)
Sets the value of field 'retry'. |
void |
setSecurityName(java.lang.String securityName)
Sets the value of field 'securityName'. |
void |
setSpecific(java.util.ArrayList specificCollection)
Method setSpecific Sets the value of 'specific' by copying the given ArrayList. |
void |
setSpecific(int index,
java.lang.String vSpecific)
Method setSpecific |
void |
setSpecific(java.lang.String[] specificArray)
Method setSpecific |
void |
setSpecificCollection(java.util.ArrayList specificCollection)
Method setSpecificCollection Sets the value of 'specific' by setting it to the given ArrayList. |
void |
setTimeout(int timeout)
Sets the value of field 'timeout'. |
void |
setVersion(java.lang.String version)
Sets the value of field 'version'. |
void |
setWriteCommunity(java.lang.String writeCommunity)
Sets the value of field 'writeCommunity'. |
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 Definition()
| Method Detail |
|---|
public void addIpMatch(java.lang.String vIpMatch)
throws java.lang.IndexOutOfBoundsException
vIpMatch -
java.lang.IndexOutOfBoundsException
public void addIpMatch(int index,
java.lang.String vIpMatch)
throws java.lang.IndexOutOfBoundsException
index - vIpMatch -
java.lang.IndexOutOfBoundsException
public void addRange(Range vRange)
throws java.lang.IndexOutOfBoundsException
vRange -
java.lang.IndexOutOfBoundsException
public void addRange(int index,
Range vRange)
throws java.lang.IndexOutOfBoundsException
index - vRange -
java.lang.IndexOutOfBoundsException
public void addSpecific(java.lang.String vSpecific)
throws java.lang.IndexOutOfBoundsException
vSpecific -
java.lang.IndexOutOfBoundsException
public void addSpecific(int index,
java.lang.String vSpecific)
throws java.lang.IndexOutOfBoundsException
index - vSpecific -
java.lang.IndexOutOfBoundsExceptionpublic void clearIpMatch()
public void clearRange()
public void clearSpecific()
public void deleteMaxRequestSize()
public void deleteMaxVarsPerPdu()
public void deletePort()
public void deleteRetry()
public void deleteTimeout()
public java.util.Enumeration enumerateIpMatch()
public java.util.Enumeration enumerateRange()
public java.util.Enumeration enumerateSpecific()
public java.lang.String getAuthPassphrase()
public java.lang.String getAuthProtocol()
public java.lang.String getContextEngineId()
public java.lang.String getContextName()
public java.lang.String getEngineId()
public java.lang.String getEnterpriseId()
public java.lang.String getIpMatch(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getIpMatch()
public java.util.ArrayList getIpMatchCollection()
public int getIpMatchCount()
public int getMaxRequestSize()
public int getMaxVarsPerPdu()
public int getPort()
public java.lang.String getPrivacyPassphrase()
public java.lang.String getPrivacyProtocol()
public java.lang.String getProxyHost()
public Range getRange(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Range[] getRange()
public java.util.ArrayList getRangeCollection()
public int getRangeCount()
public java.lang.String getReadCommunity()
public int getRetry()
public java.lang.String getSecurityName()
public java.lang.String getSpecific(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getSpecific()
public java.util.ArrayList getSpecificCollection()
public int getSpecificCount()
public int getTimeout()
public java.lang.String getVersion()
public java.lang.String getWriteCommunity()
public boolean hasMaxRequestSize()
public boolean hasMaxVarsPerPdu()
public boolean hasPort()
public boolean hasRetry()
public boolean hasTimeout()
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 removeIpMatch(java.lang.String vIpMatch)
vIpMatch -
public boolean removeRange(Range vRange)
vRange -
public boolean removeSpecific(java.lang.String vSpecific)
vSpecific -
public void setAuthPassphrase(java.lang.String authPassphrase)
authPassphrase - the value of field 'authPassphrase'.public void setAuthProtocol(java.lang.String authProtocol)
authProtocol - the value of field 'authProtocol'.public void setContextEngineId(java.lang.String contextEngineId)
contextEngineId - the value of field 'contextEngineId'.public void setContextName(java.lang.String contextName)
contextName - the value of field 'contextName'.public void setEngineId(java.lang.String engineId)
engineId - the value of field 'engineId'.public void setEnterpriseId(java.lang.String enterpriseId)
enterpriseId - the value of field 'enterpriseId'.
public void setIpMatch(int index,
java.lang.String vIpMatch)
throws java.lang.IndexOutOfBoundsException
index - vIpMatch -
java.lang.IndexOutOfBoundsExceptionpublic void setIpMatch(java.lang.String[] ipMatchArray)
ipMatchArray - public void setIpMatch(java.util.ArrayList ipMatchCollection)
ipMatchCollection - the Vector to copy.public void setIpMatchCollection(java.util.ArrayList ipMatchCollection)
ipMatchCollection - the ArrayList to copy.public void setMaxRequestSize(int maxRequestSize)
maxRequestSize - the value of field 'maxRequestSize'.public void setMaxVarsPerPdu(int maxVarsPerPdu)
maxVarsPerPdu - the value of field 'maxVarsPerPdu'.public void setPort(int port)
port - the value of field 'port'.public void setPrivacyPassphrase(java.lang.String privacyPassphrase)
privacyPassphrase - the value of field
'privacyPassphrase'.public void setPrivacyProtocol(java.lang.String privacyProtocol)
privacyProtocol - the value of field 'privacyProtocol'.public void setProxyHost(java.lang.String proxyHost)
proxyHost - the value of field 'proxyHost'.
public void setRange(int index,
Range vRange)
throws java.lang.IndexOutOfBoundsException
index - vRange -
java.lang.IndexOutOfBoundsExceptionpublic void setRange(Range[] rangeArray)
rangeArray - public void setRange(java.util.ArrayList rangeCollection)
rangeCollection - the Vector to copy.public void setRangeCollection(java.util.ArrayList rangeCollection)
rangeCollection - the ArrayList to copy.public void setReadCommunity(java.lang.String readCommunity)
readCommunity - the value of field 'readCommunity'.public void setRetry(int retry)
retry - the value of field 'retry'.public void setSecurityName(java.lang.String securityName)
securityName - the value of field 'securityName'.
public void setSpecific(int index,
java.lang.String vSpecific)
throws java.lang.IndexOutOfBoundsException
index - vSpecific -
java.lang.IndexOutOfBoundsExceptionpublic void setSpecific(java.lang.String[] specificArray)
specificArray - public void setSpecific(java.util.ArrayList specificCollection)
specificCollection - the Vector to copy.public void setSpecificCollection(java.util.ArrayList specificCollection)
specificCollection - the ArrayList to copy.public void setTimeout(int timeout)
timeout - the value of field 'timeout'.public void setVersion(java.lang.String version)
version - the value of field 'version'.public void setWriteCommunity(java.lang.String writeCommunity)
writeCommunity - the value of field 'writeCommunity'.
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 | ||||||||