Module com.aoapps.appcluster.imap
Package com.aoapps.appcluster.imap
Class ImapResourcePropertiesConfiguration
java.lang.Object
com.aoapps.appcluster.ResourcePropertiesConfiguration<ImapResource,ImapResourceNode>
com.aoapps.appcluster.CronResourcePropertiesConfiguration<ImapResource,ImapResourceNode>
com.aoapps.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.aoapps.appcluster.ResourcePropertiesConfiguration
display, enabled, id, masterRecords, masterRecordsTtl, properties, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<? extends ImapResourceNodePropertiesConfiguration> newResource(AppCluster cluster, Collection<? extends ResourceNode<?, ?>> resourceNodes) Methods inherited from class com.aoapps.appcluster.CronResourcePropertiesConfiguration
getSynchronizeSchedule, getSynchronizeTimeout, getTestSchedule, getTestTimeoutMethods inherited from class com.aoapps.appcluster.ResourcePropertiesConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getType, hashCode, isEnabled, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoapps.appcluster.CronResourceConfiguration
getSynchronizeSchedule, getSynchronizeTimeout, getTestSchedule, getTestTimeoutMethods inherited from interface com.aoapps.appcluster.ResourceConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getType, hashCode, isEnabled, toString
-
Constructor Details
-
ImapResourcePropertiesConfiguration
protected ImapResourcePropertiesConfiguration(AppClusterPropertiesConfiguration properties, String id) throws AppClusterConfigurationException Creates a newImapResourcePropertiesConfiguration.- Throws:
AppClusterConfigurationException
-
-
Method Details
-
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
-
