|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sourceforge.mbeanmonitoring.report.castor.ServerParam
public class ServerParam
Class ServerParam.
Constructor Summary | |
---|---|
ServerParam()
|
Method Summary | |
---|---|
void |
addMbean(int index,
Mbean vMbean)
|
void |
addMbean(Mbean vMbean)
|
void |
deleteDelay()
|
void |
deleteMaxBackupIndex()
|
void |
deleteNbThreads()
|
void |
deletePort()
|
java.util.Enumeration |
enumerateMbean()
Method enumerateMbean. |
int |
getDelay()
Returns the value of field 'delay'. |
java.lang.String |
getExtension()
Returns the value of field 'extension'. |
java.lang.String |
getGenereTo()
Returns the value of field 'genereTo'. |
java.lang.String |
getHost()
Returns the value of field 'host'. |
int |
getMaxBackupIndex()
Returns the value of field 'maxBackupIndex'. |
java.lang.String |
getMaxFileSize()
Returns the value of field 'maxFileSize'. |
Mbean[] |
getMbean()
Method getMbean.Returns the contents of the collection in an Array. |
Mbean |
getMbean(int index)
Method getMbean. |
int |
getMbeanCount()
Method getMbeanCount. |
int |
getNbThreads()
Returns the value of field 'nbThreads'. |
short |
getPort()
Returns the value of field 'port'. |
java.lang.String |
getSeparateur()
Returns the value of field 'separateur'. |
boolean |
hasDelay()
Method hasDelay. |
boolean |
hasMaxBackupIndex()
Method hasMaxBackupIndex. |
boolean |
hasNbThreads()
Method hasNbThreads. |
boolean |
hasPort()
Method hasPort. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllMbean()
|
boolean |
removeMbean(Mbean vMbean)
Method removeMbean. |
Mbean |
removeMbeanAt(int index)
Method removeMbeanAt. |
void |
setDelay(int delay)
Sets the value of field 'delay'. |
void |
setExtension(java.lang.String extension)
Sets the value of field 'extension'. |
void |
setGenereTo(java.lang.String genereTo)
Sets the value of field 'genereTo'. |
void |
setHost(java.lang.String host)
Sets the value of field 'host'. |
void |
setMaxBackupIndex(int maxBackupIndex)
Sets the value of field 'maxBackupIndex'. |
void |
setMaxFileSize(java.lang.String maxFileSize)
Sets the value of field 'maxFileSize'. |
void |
setMbean(int index,
Mbean vMbean)
|
void |
setMbean(Mbean[] vMbeanArray)
|
void |
setNbThreads(int nbThreads)
Sets the value of field 'nbThreads'. |
void |
setPort(short port)
Sets the value of field 'port'. |
void |
setSeparateur(java.lang.String separateur)
Sets the value of field 'separateur'. |
static ServerParam |
unmarshal(java.io.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 ServerParam()
Method Detail |
---|
public void addMbean(Mbean vMbean) throws java.lang.IndexOutOfBoundsException
vMbean
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addMbean(int index, Mbean vMbean) throws java.lang.IndexOutOfBoundsException
index
- vMbean
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteDelay()
public void deleteMaxBackupIndex()
public void deleteNbThreads()
public void deletePort()
public java.util.Enumeration enumerateMbean()
public int getDelay()
public java.lang.String getExtension()
public java.lang.String getGenereTo()
public java.lang.String getHost()
public int getMaxBackupIndex()
public java.lang.String getMaxFileSize()
public Mbean getMbean(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Mbean[] getMbean()
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 int getMbeanCount()
public int getNbThreads()
public short getPort()
public java.lang.String getSeparateur()
public boolean hasDelay()
public boolean hasMaxBackupIndex()
public boolean hasNbThreads()
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
- 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 schemapublic 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
- 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 removeAllMbean()
public boolean removeMbean(Mbean vMbean)
vMbean
-
public Mbean removeMbeanAt(int index)
index
-
public void setDelay(int delay)
delay
- the value of field 'delay'.public void setExtension(java.lang.String extension)
extension
- the value of field 'extension'.public void setGenereTo(java.lang.String genereTo)
genereTo
- the value of field 'genereTo'.public void setHost(java.lang.String host)
host
- the value of field 'host'.public void setMaxBackupIndex(int maxBackupIndex)
maxBackupIndex
- the value of field 'maxBackupIndex'.public void setMaxFileSize(java.lang.String maxFileSize)
maxFileSize
- the value of field 'maxFileSize'.public void setMbean(int index, Mbean vMbean) throws java.lang.IndexOutOfBoundsException
index
- vMbean
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setMbean(Mbean[] vMbeanArray)
vMbeanArray
- public void setNbThreads(int nbThreads)
nbThreads
- the value of field 'nbThreads'.public void setPort(short port)
port
- the value of field 'port'.public void setSeparateur(java.lang.String separateur)
separateur
- the value of field 'separateur'.public static ServerParam unmarshal(java.io.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 schemapublic 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 |