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:
  • Constructor Details

    • SimpleImpl

      public SimpleImpl()
  • Method Details

    • getLastaDiSmartDeployMode

      public String getLastaDiSmartDeployMode()
      Description copied from interface: FessEnv
      Get 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:
      getLastaDiSmartDeployMode in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • getDevelopmentHere

      public String getDevelopmentHere()
      Description copied from interface: FessEnv
      Get 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:
      getDevelopmentHere in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • isDevelopmentHere

      public boolean isDevelopmentHere()
      Description copied from interface: FessEnv
      Is 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:
      isDevelopmentHere in interface FessEnv
      Returns:
      The determination, true or false. (if not found, exception but basically no way)
    • getEnvironmentTitle

      public String getEnvironmentTitle()
      Description copied from interface: FessEnv
      Get 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:
      getEnvironmentTitle in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • getFrameworkDebug

      public String getFrameworkDebug()
      Description copied from interface: FessEnv
      Get 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:
      getFrameworkDebug in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • isFrameworkDebug

      public boolean isFrameworkDebug()
      Description copied from interface: FessEnv
      Is 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:
      isFrameworkDebug in interface FessEnv
      Returns:
      The determination, true or false. (if not found, exception but basically no way)
    • getTimeAdjustTimeMillis

      public String getTimeAdjustTimeMillis()
      Description copied from interface: FessEnv
      Get 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:
      getTimeAdjustTimeMillis in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • getTimeAdjustTimeMillisAsLong

      public Long getTimeAdjustTimeMillisAsLong()
      Description copied from interface: FessEnv
      Get the value for the key 'time.adjust.time.millis' as Long.
      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:
      getTimeAdjustTimeMillisAsLong in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • getMailSendMock

      public String getMailSendMock()
      Description copied from interface: FessEnv
      Get 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:
      getMailSendMock in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • isMailSendMock

      public boolean isMailSendMock()
      Description copied from interface: FessEnv
      Is 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:
      isMailSendMock in interface FessEnv
      Returns:
      The determination, true or false. (if not found, exception but basically no way)
    • getMailSmtpServerMainHostAndPort

      public String getMailSmtpServerMainHostAndPort()
      Description copied from interface: FessEnv
      Get 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:
      getMailSmtpServerMainHostAndPort in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • getMailSubjectTestPrefix

      public String getMailSubjectTestPrefix()
      Description copied from interface: FessEnv
      Get 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:
      getMailSubjectTestPrefix in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • getMailReturnPath

      public String getMailReturnPath()
      Description copied from interface: FessEnv
      Get 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:
      getMailReturnPath in interface FessEnv
      Returns:
      The value of found property. (NotNull: if not found, exception but basically no way)
    • prepareGeneratedDefaultMap

      protected Map<String,String> prepareGeneratedDefaultMap()
      Overrides:
      prepareGeneratedDefaultMap in class org.lastaflute.core.direction.ObjectiveConfig