|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConfigurationProperties>
org.apache.hupa.server.utils.ConfigurationProperties
public enum ConfigurationProperties
Enumeration of valid configuration properties
| Method Summary | |
|---|---|
String |
getProperty()
Return the name of property. |
String |
getPropValue()
Return the value of the property. |
boolean |
isMandatory()
Return if property is mandatory |
static Properties |
loadProperties(String name)
Loads and validate a properties file. |
static ConfigurationProperties |
lookup(String property)
Return a ConfigurationProperties enumeration that matches the passed command. |
static void |
validateProperties(Properties properties)
Test for mandatory properties, complete with default values when missing, and avoid unknown properties. |
static ConfigurationProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConfigurationProperties[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ConfigurationProperties IMAP_SERVER_ADDRESS
public static final ConfigurationProperties SMTP_SERVER_ADDRESS
public static final ConfigurationProperties IMAP_SERVER_PORT
public static final ConfigurationProperties SMTP_SERVER_PORT
public static final ConfigurationProperties IMAP_CONNECTION_POOL_SIZE
public static final ConfigurationProperties IMAP_CONNECTION_POOL_TIMEOUT
public static final ConfigurationProperties IMAPS
public static final ConfigurationProperties TRUST_STORE
public static final ConfigurationProperties TRUST_STORE_PASSWORD
public static final ConfigurationProperties DEFAULT_SENT_FOLDER
public static final ConfigurationProperties DEFAULT_TRASH_FOLDER
public static final ConfigurationProperties DEFAULT_DRAFTS_FOLDER
public static final ConfigurationProperties DEFAULT_INBOX_FOLDER
public static final ConfigurationProperties POST_FETCH_MESSAGE_COUNT
public static final ConfigurationProperties SESSION_DEBUG
public static final ConfigurationProperties SMTP_AUTH
public static final ConfigurationProperties SMTPS
public static final ConfigurationProperties USERNAME
public static final ConfigurationProperties PASSWORD
| Method Detail |
|---|
public static ConfigurationProperties[] values()
for (ConfigurationProperties c : ConfigurationProperties.values()) System.out.println(c);
public static ConfigurationProperties valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static ConfigurationProperties lookup(String property)
property - The property to use for lookup.
public String getProperty()
public boolean isMandatory()
public String getPropValue()
public static void validateProperties(Properties properties)
public static Properties loadProperties(String name)
configDir - name -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||