Class FessEnv.SimpleImpl
java.lang.Object
org.lastaflute.core.direction.ObjectiveConfig
org.codelibs.fess.mylasta.direction.FessEnv.SimpleImpl
- All Implemented Interfaces:
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:
-
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, propertyFilterFields 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 -
Method Summary
Modifier and TypeMethodDescriptionGet the value for the key 'development.here'.Get the value for the key 'environment.title'.Get the value for the key 'framework.debug'.Get the value for the key 'lasta_di.smart.deploy.mode'.Get the value for the key 'mail.return.path'.Get the value for the key 'mail.send.mock'.Get the value for the key 'mail.smtp.server.main.host.and.port'.Get the value for the key 'mail.subject.test.prefix'.Get the value for the key 'time.adjust.time.millis'.Get the value for the key 'time.adjust.time.millis' asLong.booleanIs the property for the key 'development.here' true?
The value is, e.g.booleanIs the property for the key 'framework.debug' true?
The value is, e.g.booleanIs the property for the key 'mail.send.mock' true?
The value is, e.g.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
-
Constructor Details
-
SimpleImpl
public SimpleImpl()
-
-
Method Details
-
getLastaDiSmartDeployMode
Description copied from interface:FessEnvGet the value for the key 'lasta_di.smart.deploy.mode'.
The value is, e.g. warm
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
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
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
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
Description copied from interface:FessEnvGet the value for the key 'time.adjust.time.millis'.
The value is, e.g. 0
comment:
one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000
special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)
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
Description copied from interface:FessEnvGet the value for the key 'time.adjust.time.millis' asLong.
The value is, e.g. 0
comment:
one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000
special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)
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
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
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
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
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
- Overrides:
prepareGeneratedDefaultMapin classorg.lastaflute.core.direction.ObjectiveConfig
-