|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.mailtransporttest.ReadmailTest
public class ReadmailTest
Class ReadmailTest.
| Constructor Summary | |
|---|---|
ReadmailTest()
|
|
| Method Summary | |
|---|---|
void |
addJavamailProperty(int index,
JavamailProperty vJavamailProperty)
|
void |
addJavamailProperty(JavamailProperty vJavamailProperty)
|
void |
deleteAttemptInterval()
|
void |
deleteDebug()
|
void |
deleteDeleteAllMail()
|
Enumeration<JavamailProperty> |
enumerateJavamailProperty()
Method enumerateJavamailProperty. |
long |
getAttemptInterval()
Returns the value of field 'attemptInterval'. |
boolean |
getDebug()
Returns the value of field 'debug'. |
boolean |
getDeleteAllMail()
Returns the value of field 'deleteAllMail'. |
JavamailProperty[] |
getJavamailProperty()
Method getJavamailProperty.Returns the contents of the collection in an Array. |
JavamailProperty |
getJavamailProperty(int index)
Method getJavamailProperty. |
List<JavamailProperty> |
getJavamailPropertyCollection()
Method getJavamailPropertyCollection.Returns a reference to '_javamailPropertyList'. |
int |
getJavamailPropertyCount()
Method getJavamailPropertyCount. |
String |
getMailFolder()
Returns the value of field 'mailFolder'. |
ReadmailHost |
getReadmailHost()
Returns the value of field 'readmailHost'. |
String |
getSubjectMatch()
Returns the value of field 'subjectMatch'. |
UserAuth |
getUserAuth()
Returns the value of field 'userAuth'. |
boolean |
hasAttemptInterval()
Method hasAttemptInterval. |
boolean |
hasDebug()
Method hasDebug. |
boolean |
hasDeleteAllMail()
Method hasDeleteAllMail. |
boolean |
isDebug()
Returns the value of field 'debug'. |
boolean |
isDeleteAllMail()
Returns the value of field 'deleteAllMail'. |
boolean |
isValid()
Method isValid. |
Iterator<JavamailProperty> |
iterateJavamailProperty()
Method iterateJavamailProperty. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllJavamailProperty()
|
boolean |
removeJavamailProperty(JavamailProperty vJavamailProperty)
Method removeJavamailProperty. |
JavamailProperty |
removeJavamailPropertyAt(int index)
Method removeJavamailPropertyAt. |
void |
setAttemptInterval(long attemptInterval)
Sets the value of field 'attemptInterval'. |
void |
setDebug(boolean debug)
Sets the value of field 'debug'. |
void |
setDeleteAllMail(boolean deleteAllMail)
Sets the value of field 'deleteAllMail'. |
void |
setJavamailProperty(int index,
JavamailProperty vJavamailProperty)
|
void |
setJavamailProperty(JavamailProperty[] vJavamailPropertyArray)
|
void |
setJavamailProperty(List<JavamailProperty> vJavamailPropertyList)
Sets the value of '_javamailPropertyList' by copying the given Vector. |
void |
setJavamailPropertyCollection(List<JavamailProperty> javamailPropertyList)
Deprecated. |
void |
setMailFolder(String mailFolder)
Sets the value of field 'mailFolder'. |
void |
setReadmailHost(ReadmailHost readmailHost)
Sets the value of field 'readmailHost'. |
void |
setSubjectMatch(String subjectMatch)
Sets the value of field 'subjectMatch'. |
void |
setUserAuth(UserAuth userAuth)
Sets the value of field 'userAuth'. |
static ReadmailTest |
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 ReadmailTest()
| Method Detail |
|---|
public void addJavamailProperty(JavamailProperty vJavamailProperty)
throws IndexOutOfBoundsException
vJavamailProperty -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addJavamailProperty(int index,
JavamailProperty vJavamailProperty)
throws IndexOutOfBoundsException
index - vJavamailProperty -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteAttemptInterval()
public void deleteDebug()
public void deleteDeleteAllMail()
public Enumeration<JavamailProperty> enumerateJavamailProperty()
public long getAttemptInterval()
public boolean getDebug()
public boolean getDeleteAllMail()
public JavamailProperty getJavamailProperty(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic JavamailProperty[] getJavamailProperty()
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<JavamailProperty> getJavamailPropertyCollection()
public int getJavamailPropertyCount()
public String getMailFolder()
public ReadmailHost getReadmailHost()
public String getSubjectMatch()
public UserAuth getUserAuth()
public boolean hasAttemptInterval()
public boolean hasDebug()
public boolean hasDeleteAllMail()
public boolean isDebug()
public boolean isDeleteAllMail()
public boolean isValid()
public Iterator<JavamailProperty> iterateJavamailProperty()
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 removeAllJavamailProperty()
public boolean removeJavamailProperty(JavamailProperty vJavamailProperty)
vJavamailProperty -
public JavamailProperty removeJavamailPropertyAt(int index)
index -
public void setAttemptInterval(long attemptInterval)
attemptInterval - the value of field 'attemptInterval'.public void setDebug(boolean debug)
debug - the value of field 'debug'.public void setDeleteAllMail(boolean deleteAllMail)
deleteAllMail - the value of field 'deleteAllMail'.
public void setJavamailProperty(int index,
JavamailProperty vJavamailProperty)
throws IndexOutOfBoundsException
index - vJavamailProperty -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setJavamailProperty(JavamailProperty[] vJavamailPropertyArray)
vJavamailPropertyArray - public void setJavamailProperty(List<JavamailProperty> vJavamailPropertyList)
vJavamailPropertyList - the Vector to copy.public void setJavamailPropertyCollection(List<JavamailProperty> javamailPropertyList)
javamailPropertyList - the Vector to set.public void setMailFolder(String mailFolder)
mailFolder - the value of field 'mailFolder'.public void setReadmailHost(ReadmailHost readmailHost)
readmailHost - the value of field 'readmailHost'.public void setSubjectMatch(String subjectMatch)
subjectMatch - the value of field 'subjectMatch'.public void setUserAuth(UserAuth userAuth)
userAuth - the value of field 'userAuth'.
public static ReadmailTest 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 | ||||||||