|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.ApplicationConfig
com.jurismarches.vradi.VradiServiceConfiguration
public class VradiServiceConfiguration
Configuration.
| Nested Class Summary | |
|---|---|
static class |
VradiServiceConfiguration.ActionDefinition
Actions can be called in command line |
static class |
VradiServiceConfiguration.Option
Vradi option definition. |
| Nested classes/interfaces inherited from class org.nuiton.util.ApplicationConfig |
|---|
org.nuiton.util.ApplicationConfig.Action, org.nuiton.util.ApplicationConfig.CacheItem<T>, org.nuiton.util.ApplicationConfig.OptionDef |
| Field Summary | |
|---|---|
protected static VradiServiceConfiguration |
instance
Singleton instance. |
static int |
STEP_AFTER_INIT
After init step. |
| Fields inherited from class org.nuiton.util.ApplicationConfig |
|---|
actions, ADJUSTING_PROPERTY, aliases, APP_NAME, cacheAction, cacheOption, classpath, CONFIG_FILE_NAME, CONFIG_PATH, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, options, osName, pcs, unparsed, useOnlyAliases, userPath |
| Constructor Summary | |
|---|---|
protected |
VradiServiceConfiguration()
|
| Methods inherited from class org.nuiton.util.ApplicationConfig |
|---|
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, createAction, doAction, firePropertyChange, getConfigFileName, getConfigFileNameOption, getConfigPath, getFlatOptions, getFlatOptions, getMethods, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsInt, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptions, getOptionStartsWith, getParams, getPropertyChangeListeners, getPropertyChangeListeners, getSystemConfigFile, getSystemConfigurationPath, getUnparsed, getUserConfigFile, getUserHome, getUsername, getUserPath, hasListeners, installSaveUserAction, isAdjusting, isUseOnlyAliases, migrateUserConfigurationFile, parse, printConfig, printConfig, removePropertyChangeListener, removePropertyChangeListener, replaceRecursiveOptions, save, saveForSystem, saveForUser, setAdjusting, setAppName, setConfigFileName, setDefaultOption, setOption, setOptions, setUseOnlyAliases |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STEP_AFTER_INIT
protected static VradiServiceConfiguration instance
| Constructor Detail |
|---|
protected VradiServiceConfiguration()
| Method Detail |
|---|
public static VradiServiceConfiguration getInstance(String... args)
protected void addActionAlias(String action,
String... aliases)
public String getApplicationVersion()
public String getServiceVersion()
public void setServiceVersion(String version)
version - version to setpublic String getDataDir()
public File getDataDirAsFile()
public Locale getLocale()
public void setLocale(Locale locale)
@Deprecated public File getCommonsPropertiesFile()
public File getAttachmentsDir()
public File getEmbeddedFilesDir()
public File getQueryHistoryDir()
public File getTemplatesDir()
public File getPdfDir()
public File getTempDir()
public File getWebHarvestPreviewDir()
public File getWebHarvestScriptDir()
public String getOpenOfficeExecDir()
public String getSmtpHost()
public int getSmtpPort()
public String getImapHost()
public int getImapPort()
public String getMailUser()
public String getMailFrom()
public String getMailFromName()
public String getMailPassword()
public String getOfferMailSubject()
public boolean isMailDebug()
public String getSessionDefaultParagraph()
public boolean skipMigration()
public void setWikittyJgroupsChannelName(String channelName)
channelName - new channel nameWikittyServiceNotifier.WIKITTY_EVENT_JGROUPCHANNELNAME_OPTIONpublic void setWikittyPropagateEvents(boolean b)
b - new valueWikittyServiceNotifier.WIKITTY_EVENT_PROPAGATE_OPTIONpublic void setWikittyListenEvents(boolean b)
b - new valueWikittyServiceCached.WIKITTY_CACHE_LISTENEVENTS_OPTIONpublic void setWikittyCachePolicy(boolean b)
b - WikittyServiceCached.WIKITTY_CACHE_ALLWAYS_RESTORE_COPIES_POLICY_OPTION
protected File getOptionAsFile(String parent,
String child)
protected void setSystemDefaultProps()
solr and jms system configuration.
This is the "only" way to configure embedded solr.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||