|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.pagesequence.Page
public class Page
This element specifies all the possible attributes in as fine grained detail as possible. All that is really required (as you can see below) is the "path" attribute. From that one attribute, the IP address passed in through the ServiceMonitor and ServiceCollector interface, the URL will be fully generated using the supplied defaults in this config. Configure attributes these attributes to the level of detail you need to fully control the behavior. A little bit of indirection is possible here with the host attribute. If the host attribute is anything other than the default, that value will be used instead of the IP address passed in through the API (Interface).
| Constructor Summary | |
|---|---|
Page()
|
|
| Method Summary | |
|---|---|
void |
addParameter(int index,
Parameter vParameter)
Method addParameter |
void |
addParameter(Parameter vParameter)
Method addParameter |
void |
clearParameter()
Method clearParameter |
void |
deletePort()
Method deletePort |
java.util.Enumeration |
enumerateParameter()
Method enumerateParameter |
java.lang.String |
getFailureMatch()
Returns the value of field 'failureMatch'. |
java.lang.String |
getFailureMessage()
Returns the value of field 'failureMessage'. |
java.lang.String |
getFragment()
Returns the value of field 'fragment'. |
java.lang.String |
getHost()
Returns the value of field 'host'. |
java.lang.String |
getHttpVersion()
Returns the value of field 'httpVersion'. |
java.lang.String |
getMethod()
Returns the value of field 'method'. |
Parameter[] |
getParameter()
Method getParameter |
Parameter |
getParameter(int index)
Method getParameter |
java.util.ArrayList |
getParameterCollection()
Method getParameterCollection Returns a reference to 'parameter'. |
int |
getParameterCount()
Method getParameterCount |
java.lang.String |
getPath()
Returns the value of field 'path'. |
int |
getPort()
Returns the value of field 'port'. |
java.lang.String |
getQuery()
Returns the value of field 'query'. |
java.lang.String |
getResponseRange()
Returns the value of field 'responseRange'. |
java.lang.String |
getScheme()
Returns the value of field 'scheme'. |
java.lang.String |
getSuccessMatch()
Returns the value of field 'successMatch'. |
java.lang.String |
getUserAgent()
Returns the value of field 'userAgent'. |
java.lang.String |
getUserInfo()
Returns the value of field 'userInfo'. |
java.lang.String |
getVirtualHost()
Returns the value of field 'virtualHost'. |
boolean |
hasPort()
Method hasPort |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeParameter(Parameter vParameter)
Method removeParameter |
void |
setFailureMatch(java.lang.String failureMatch)
Sets the value of field 'failureMatch'. |
void |
setFailureMessage(java.lang.String failureMessage)
Sets the value of field 'failureMessage'. |
void |
setFragment(java.lang.String fragment)
Sets the value of field 'fragment'. |
void |
setHost(java.lang.String host)
Sets the value of field 'host'. |
void |
setHttpVersion(java.lang.String httpVersion)
Sets the value of field 'httpVersion'. |
void |
setMethod(java.lang.String method)
Sets the value of field 'method'. |
void |
setParameter(java.util.ArrayList parameterCollection)
Method setParameter Sets the value of 'parameter' by copying the given ArrayList. |
void |
setParameter(int index,
Parameter vParameter)
Method setParameter |
void |
setParameter(Parameter[] parameterArray)
Method setParameter |
void |
setParameterCollection(java.util.ArrayList parameterCollection)
Method setParameterCollection Sets the value of 'parameter' by setting it to the given ArrayList. |
void |
setPath(java.lang.String path)
Sets the value of field 'path'. |
void |
setPort(int port)
Sets the value of field 'port'. |
void |
setQuery(java.lang.String query)
Sets the value of field 'query'. |
void |
setResponseRange(java.lang.String responseRange)
Sets the value of field 'responseRange'. |
void |
setScheme(java.lang.String scheme)
Sets the value of field 'scheme'. |
void |
setSuccessMatch(java.lang.String successMatch)
Sets the value of field 'successMatch'. |
void |
setUserAgent(java.lang.String userAgent)
Sets the value of field 'userAgent'. |
void |
setUserInfo(java.lang.String userInfo)
Sets the value of field 'userInfo'. |
void |
setVirtualHost(java.lang.String virtualHost)
Sets the value of field 'virtualHost'. |
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 Page()
| Method Detail |
|---|
public void addParameter(Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
vParameter -
java.lang.IndexOutOfBoundsException
public void addParameter(int index,
Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
index - vParameter -
java.lang.IndexOutOfBoundsExceptionpublic void clearParameter()
public void deletePort()
public java.util.Enumeration enumerateParameter()
public java.lang.String getFailureMatch()
public java.lang.String getFailureMessage()
public java.lang.String getFragment()
public java.lang.String getHost()
public java.lang.String getHttpVersion()
public java.lang.String getMethod()
public Parameter getParameter(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Parameter[] getParameter()
public java.util.ArrayList getParameterCollection()
public int getParameterCount()
public java.lang.String getPath()
public int getPort()
public java.lang.String getQuery()
public java.lang.String getResponseRange()
public java.lang.String getScheme()
public java.lang.String getSuccessMatch()
public java.lang.String getUserAgent()
public java.lang.String getUserInfo()
public java.lang.String getVirtualHost()
public boolean hasPort()
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 removeParameter(Parameter vParameter)
vParameter -
public void setFailureMatch(java.lang.String failureMatch)
failureMatch - the value of field 'failureMatch'.public void setFailureMessage(java.lang.String failureMessage)
failureMessage - the value of field 'failureMessage'.public void setFragment(java.lang.String fragment)
fragment - the value of field 'fragment'.public void setHost(java.lang.String host)
host - the value of field 'host'.public void setHttpVersion(java.lang.String httpVersion)
httpVersion - the value of field 'httpVersion'.public void setMethod(java.lang.String method)
method - the value of field 'method'.
public void setParameter(int index,
Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
index - vParameter -
java.lang.IndexOutOfBoundsExceptionpublic void setParameter(Parameter[] parameterArray)
parameterArray - public void setParameter(java.util.ArrayList parameterCollection)
parameterCollection - the Vector to copy.public void setParameterCollection(java.util.ArrayList parameterCollection)
parameterCollection - the ArrayList to copy.public void setPath(java.lang.String path)
path - the value of field 'path'.public void setPort(int port)
port - the value of field 'port'.public void setQuery(java.lang.String query)
query - the value of field 'query'.public void setResponseRange(java.lang.String responseRange)
responseRange - the value of field 'responseRange'.public void setScheme(java.lang.String scheme)
scheme - the value of field 'scheme'.public void setSuccessMatch(java.lang.String successMatch)
successMatch - the value of field 'successMatch'.public void setUserAgent(java.lang.String userAgent)
userAgent - the value of field 'userAgent'.public void setUserInfo(java.lang.String userInfo)
userInfo - the value of field 'userInfo'.public void setVirtualHost(java.lang.String virtualHost)
virtualHost - the value of field 'virtualHost'.
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 | ||||||||