@ThreadSafe public enum CollectionUpdater extends java.lang.Enum<CollectionUpdater>
Modifier and Type | Class and Description |
---|---|
static class |
CollectionUpdater.ChangeProtoJob |
static class |
CollectionUpdater.UpdateCollectionJob |
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
org.quartz.Scheduler |
getScheduler() |
boolean |
isTdm() |
void |
scheduleTasks(FeatureCollectionConfig config,
CollectionUpdateListener manager,
org.slf4j.Logger logger) |
void |
setTdm(boolean tdm) |
void |
shutdown() |
void |
triggerUpdate(java.lang.String collectionName,
CollectionUpdateType triggerType) |
static CollectionUpdater |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionUpdater[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionUpdater INSTANCE
public static CollectionUpdater[] values()
for (CollectionUpdater c : CollectionUpdater.values()) System.out.println(c);
public static CollectionUpdater valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void setTdm(boolean tdm)
public boolean isTdm()
public org.quartz.Scheduler getScheduler()
public void scheduleTasks(FeatureCollectionConfig config, CollectionUpdateListener manager, org.slf4j.Logger logger)
config
- manager
- CollectionUpdateListenerlogger
- public void shutdown()
public void triggerUpdate(java.lang.String collectionName, CollectionUpdateType triggerType)