Package com.aoindustries.appcluster.imap
Class ImapResourcePropertiesConfiguration
- java.lang.Object
-
- com.aoindustries.appcluster.ResourcePropertiesConfiguration<R,RN>
-
- com.aoindustries.appcluster.CronResourcePropertiesConfiguration<ImapResource,ImapResourceNode>
-
- com.aoindustries.appcluster.imap.ImapResourcePropertiesConfiguration
-
- All Implemented Interfaces:
CronResourceConfiguration<ImapResource,ImapResourceNode>,ImapResourceConfiguration,ResourceConfiguration<ImapResource,ImapResourceNode>
public class ImapResourcePropertiesConfiguration extends CronResourcePropertiesConfiguration<ImapResource,ImapResourceNode> implements ImapResourceConfiguration
The configuration for an IMAP inbox.- Author:
- AO Industries, Inc.
-
-
Field Summary
-
Fields inherited from class com.aoindustries.appcluster.ResourcePropertiesConfiguration
display, enabled, id, masterRecords, masterRecordsTtl, properties, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedImapResourcePropertiesConfiguration(AppClusterPropertiesConfiguration properties, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<? extends ImapResourceNodePropertiesConfiguration>getResourceNodeConfigurations()ImapResourcenewResource(AppCluster cluster, Collection<? extends ResourceNode<?,?>> resourceNodes)-
Methods inherited from class com.aoindustries.appcluster.CronResourcePropertiesConfiguration
getSynchronizeSchedule, getSynchronizeTimeout, getTestSchedule, getTestTimeout
-
Methods inherited from class com.aoindustries.appcluster.ResourcePropertiesConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getType, hashCode, isEnabled, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.aoindustries.appcluster.CronResourceConfiguration
getSynchronizeSchedule, getSynchronizeTimeout, getTestSchedule, getTestTimeout
-
Methods inherited from interface com.aoindustries.appcluster.ResourceConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getType, hashCode, isEnabled, toString
-
-
-
-
Constructor Detail
-
ImapResourcePropertiesConfiguration
protected ImapResourcePropertiesConfiguration(AppClusterPropertiesConfiguration properties, String id) throws AppClusterConfigurationException
- Throws:
AppClusterConfigurationException
-
-
Method Detail
-
getResourceNodeConfigurations
public Set<? extends ImapResourceNodePropertiesConfiguration> getResourceNodeConfigurations() throws AppClusterConfigurationException
- Specified by:
getResourceNodeConfigurationsin interfaceImapResourceConfiguration- Specified by:
getResourceNodeConfigurationsin interfaceResourceConfiguration<ImapResource,ImapResourceNode>- Specified by:
getResourceNodeConfigurationsin classResourcePropertiesConfiguration<ImapResource,ImapResourceNode>- Throws:
AppClusterConfigurationException
-
newResource
public ImapResource newResource(AppCluster cluster, Collection<? extends ResourceNode<?,?>> resourceNodes) throws AppClusterConfigurationException
- Specified by:
newResourcein interfaceImapResourceConfiguration- Specified by:
newResourcein interfaceResourceConfiguration<ImapResource,ImapResourceNode>- Specified by:
newResourcein classResourcePropertiesConfiguration<ImapResource,ImapResourceNode>- Throws:
AppClusterConfigurationException
-
-