Class FessEnv.SimpleImpl
- java.lang.Object
-
- org.lastaflute.core.direction.ObjectiveConfig
-
- org.codelibs.fess.mylasta.direction.FessEnv.SimpleImpl
-
- All Implemented Interfaces:
java.io.Serializable,FessEnv,org.lastaflute.core.direction.AccessibleConfig
- Direct Known Subclasses:
FessConfig.SimpleImpl
- Enclosing interface:
- FessEnv
public static class FessEnv.SimpleImpl extends org.lastaflute.core.direction.ObjectiveConfig implements FessEnv
The simple implementation for configuration.- Author:
- FreeGen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.codelibs.fess.mylasta.direction.FessEnv
FessEnv.SimpleImpl
-
-
Field Summary
-
Fields inherited from class org.lastaflute.core.direction.ObjectiveConfig
appResource, assistantDirector, bowgunPropertyFilter, extendsResourceList, hotDeployRequested, locked, prop, propertyFilter
-
Fields inherited from interface org.codelibs.fess.mylasta.direction.FessEnv
DEVELOPMENT_HERE, ENVIRONMENT_TITLE, FRAMEWORK_DEBUG, lasta_di_SMART_DEPLOY_MODE, MAIL_RETURN_PATH, MAIL_SEND_MOCK, MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT, MAIL_SUBJECT_TEST_PREFIX, TIME_ADJUST_TIME_MILLIS
-
-
Constructor Summary
Constructors Constructor Description SimpleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDevelopmentHere()Get the value for the key 'development.here'.java.lang.StringgetEnvironmentTitle()Get the value for the key 'environment.title'.java.lang.StringgetFrameworkDebug()Get the value for the key 'framework.debug'.java.lang.StringgetLastaDiSmartDeployMode()Get the value for the key 'lasta_di.smart.deploy.mode'.java.lang.StringgetMailReturnPath()Get the value for the key 'mail.return.path'.java.lang.StringgetMailSendMock()Get the value for the key 'mail.send.mock'.java.lang.StringgetMailSmtpServerMainHostAndPort()Get the value for the key 'mail.smtp.server.main.host.and.port'.java.lang.StringgetMailSubjectTestPrefix()Get the value for the key 'mail.subject.test.prefix'.java.lang.StringgetTimeAdjustTimeMillis()Get the value for the key 'time.adjust.time.millis'.java.lang.LonggetTimeAdjustTimeMillisAsLong()Get the value for the key 'time.adjust.time.millis' asLong.booleanisDevelopmentHere()Is the property for the key 'development.here' true?
The value is, e.g.booleanisFrameworkDebug()Is the property for the key 'framework.debug' true?
The value is, e.g.booleanisMailSendMock()Is the property for the key 'mail.send.mock' true?
The value is, e.g.protected java.util.Map<java.lang.String,java.lang.String>prepareGeneratedDefaultMap()-
Methods inherited from class org.lastaflute.core.direction.ObjectiveConfig
addExtendsResource, assertUnlocked, assistAssistDirection, createDefaultPropertyFilter, direct, doInitialize, doPrepareEmbeddedPropertyFilter, doPrepareWrappedDefaultablePropertyFilter, filterEnvSwitching, filterEnvSwitchingList, filterPropertyAsDefault, filterPropertyTrimming, get, getAsDate, getAsDecimal, getAsInteger, getAsLong, getOrDefault, initialize, is, isLocked, keySet, lock, newObjectiveProperties, newPatchedReader, prepareHotDeploy, prepareObjectiveProperties, preparePropertyFilter, reloadIfNeeds, requestHotDeploy, setDomainResource, shootBowgunPropertyFilter, showBootLogging, toString, unlock, verifyPropertyValue
-
-
-
-
Method Detail
-
getLastaDiSmartDeployMode
public java.lang.String getLastaDiSmartDeployMode()
Description copied from interface:FessEnvGet the value for the key 'lasta_di.smart.deploy.mode'.
The value is, e.g. hot
comment: The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)- Specified by:
getLastaDiSmartDeployModein interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
getDevelopmentHere
public java.lang.String getDevelopmentHere()
Description copied from interface:FessEnvGet the value for the key 'development.here'.
The value is, e.g. true
comment: Is development environment here? (used for various purpose, you should set false if unknown)- Specified by:
getDevelopmentHerein interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
isDevelopmentHere
public boolean isDevelopmentHere()
Description copied from interface:FessEnvIs the property for the key 'development.here' true?
The value is, e.g. true
comment: Is development environment here? (used for various purpose, you should set false if unknown)- Specified by:
isDevelopmentHerein interfaceFessEnv- Returns:
- The determination, true or false. (if not found, exception but basically no way)
-
getEnvironmentTitle
public java.lang.String getEnvironmentTitle()
Description copied from interface:FessEnvGet the value for the key 'environment.title'.
The value is, e.g. Local Development
comment: The title of environment (e.g. local or integration or production)- Specified by:
getEnvironmentTitlein interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
getFrameworkDebug
public java.lang.String getFrameworkDebug()
Description copied from interface:FessEnvGet the value for the key 'framework.debug'.
The value is, e.g. false
comment: Does it enable the Framework internal debug? (true only when emergency)- Specified by:
getFrameworkDebugin interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
isFrameworkDebug
public boolean isFrameworkDebug()
Description copied from interface:FessEnvIs the property for the key 'framework.debug' true?
The value is, e.g. false
comment: Does it enable the Framework internal debug? (true only when emergency)- Specified by:
isFrameworkDebugin interfaceFessEnv- Returns:
- The determination, true or false. (if not found, exception but basically no way)
-
getTimeAdjustTimeMillis
public java.lang.String getTimeAdjustTimeMillis()
Description copied from interface:FessEnvGet the value for the key 'time.adjust.time.millis'.
The value is, e.g. 0
comment: The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development- Specified by:
getTimeAdjustTimeMillisin interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
getTimeAdjustTimeMillisAsLong
public java.lang.Long getTimeAdjustTimeMillisAsLong()
Description copied from interface:FessEnvGet the value for the key 'time.adjust.time.millis' asLong.
The value is, e.g. 0
comment: The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development- Specified by:
getTimeAdjustTimeMillisAsLongin interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
getMailSendMock
public java.lang.String getMailSendMock()
Description copied from interface:FessEnvGet the value for the key 'mail.send.mock'.
The value is, e.g. true
comment: Does it send mock mail? (true: no send actually, logging only)- Specified by:
getMailSendMockin interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
isMailSendMock
public boolean isMailSendMock()
Description copied from interface:FessEnvIs the property for the key 'mail.send.mock' true?
The value is, e.g. true
comment: Does it send mock mail? (true: no send actually, logging only)- Specified by:
isMailSendMockin interfaceFessEnv- Returns:
- The determination, true or false. (if not found, exception but basically no way)
-
getMailSmtpServerMainHostAndPort
public java.lang.String getMailSmtpServerMainHostAndPort()
Description copied from interface:FessEnvGet the value for the key 'mail.smtp.server.main.host.and.port'.
The value is, e.g. localhost:25
comment: SMTP server settings for main: host:port- Specified by:
getMailSmtpServerMainHostAndPortin interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
getMailSubjectTestPrefix
public java.lang.String getMailSubjectTestPrefix()
Description copied from interface:FessEnvGet the value for the key 'mail.subject.test.prefix'.
The value is, e.g. [Test]
comment: The prefix of subject to show test environment or not- Specified by:
getMailSubjectTestPrefixin interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
getMailReturnPath
public java.lang.String getMailReturnPath()
Description copied from interface:FessEnvGet the value for the key 'mail.return.path'.
The value is, e.g. root@localhost
comment: The common return path of all mail- Specified by:
getMailReturnPathin interfaceFessEnv- Returns:
- The value of found property. (NotNull: if not found, exception but basically no way)
-
prepareGeneratedDefaultMap
protected java.util.Map<java.lang.String,java.lang.String> prepareGeneratedDefaultMap()
- Overrides:
prepareGeneratedDefaultMapin classorg.lastaflute.core.direction.ObjectiveConfig
-
-