public class ReadmailConfig extends Object implements Serializable
Type | Property and Description |
---|---|
Enumeration<JavamailProperty> |
enumerateJavamail
Method enumerateJavamailProperty.
|
Iterator<JavamailProperty> |
iterateJavamail
Method iterateJavamailProperty.
|
Constructor and Description |
---|
ReadmailConfig()
Instantiates a new readmail config.
|
Modifier and Type | Method and Description |
---|---|
void |
addJavamailProperty(int index,
JavamailProperty vJavamailProperty)
Adds the javamail property.
|
void |
addJavamailProperty(JavamailProperty vJavamailProperty)
Adds the javamail property.
|
Enumeration<JavamailProperty> |
enumerateJavamailProperty()
Method enumerateJavamailProperty.
|
boolean |
equals(Object obj) |
Long |
getAttemptInterval()
Returns the value of field 'attemptInterval'.
|
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'.
|
String |
getName()
Returns the value of field 'name'.
|
ReadmailHost |
getReadmailHost()
Returns the value of field 'readmailHost'.
|
UserAuth |
getUserAuth()
Returns the value of field 'userAuth'.
|
int |
hashCode() |
Boolean |
isDebug()
Returns the value of field 'debug'.
|
Boolean |
isDeleteAllMail()
Returns the value of field 'deleteAllMail'.
|
Iterator<JavamailProperty> |
iterateJavamailProperty()
Method iterateJavamailProperty.
|
void |
removeAllJavamailProperty()
Removes the all javamail property.
|
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)
Sets the javamail property.
|
void |
setJavamailProperty(JavamailProperty[] vJavamailPropertyArray)
Sets the javamail property.
|
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 |
setName(String name)
Sets the value of field 'name'.
|
void |
setReadmailHost(ReadmailHost readmailHost)
Sets the value of field 'readmailHost'.
|
void |
setUserAuth(UserAuth userAuth)
Sets the value of field 'userAuth'.
|
public Enumeration<JavamailProperty> enumerateJavamailProperty
public Iterator<JavamailProperty> iterateJavamailProperty
public void addJavamailProperty(JavamailProperty vJavamailProperty) throws IndexOutOfBoundsException
vJavamailProperty
- the javamail propertyIndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addJavamailProperty(int index, JavamailProperty vJavamailProperty) throws IndexOutOfBoundsException
index
- the indexvJavamailProperty
- the javamail propertyIndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Enumeration<JavamailProperty> enumerateJavamailProperty()
public Long getAttemptInterval()
public Boolean isDebug()
public Boolean isDeleteAllMail()
public JavamailProperty getJavamailProperty(int index) throws IndexOutOfBoundsException
index
- the indexIndexOutOfBoundsException
- 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 String getName()
public ReadmailHost getReadmailHost()
public UserAuth getUserAuth()
public Iterator<JavamailProperty> iterateJavamailProperty()
public void removeAllJavamailProperty()
public boolean removeJavamailProperty(JavamailProperty vJavamailProperty)
vJavamailProperty
- the v javamail propertypublic JavamailProperty removeJavamailPropertyAt(int index)
index
- the indexpublic 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
- the indexvJavamailProperty
- the javamail propertyIndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setJavamailProperty(JavamailProperty[] vJavamailPropertyArray)
vJavamailPropertyArray
- the new javamail propertypublic 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 setName(String name)
name
- the value of field 'name'.public void setReadmailHost(ReadmailHost readmailHost)
readmailHost
- the value of field 'readmailHost'.public void setUserAuth(UserAuth userAuth)
userAuth
- the value of field 'userAuth'.Copyright © 2017. All rights reserved.