Interface FessEnv

    • Field Detail

      • lasta_di_SMART_DEPLOY_MODE

        static final java.lang.String lasta_di_SMART_DEPLOY_MODE
        The key of the configuration. e.g. hot
        See Also:
        Constant Field Values
      • DEVELOPMENT_HERE

        static final java.lang.String DEVELOPMENT_HERE
        The key of the configuration. e.g. true
        See Also:
        Constant Field Values
      • ENVIRONMENT_TITLE

        static final java.lang.String ENVIRONMENT_TITLE
        The key of the configuration. e.g. Local Development
        See Also:
        Constant Field Values
      • FRAMEWORK_DEBUG

        static final java.lang.String FRAMEWORK_DEBUG
        The key of the configuration. e.g. false
        See Also:
        Constant Field Values
      • TIME_ADJUST_TIME_MILLIS

        static final java.lang.String TIME_ADJUST_TIME_MILLIS
        The key of the configuration. e.g. 0
        See Also:
        Constant Field Values
      • MAIL_SEND_MOCK

        static final java.lang.String MAIL_SEND_MOCK
        The key of the configuration. e.g. true
        See Also:
        Constant Field Values
      • MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT

        static final java.lang.String MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT
        The key of the configuration. e.g. localhost:25
        See Also:
        Constant Field Values
      • MAIL_SUBJECT_test_PREFIX

        static final java.lang.String MAIL_SUBJECT_test_PREFIX
        The key of the configuration. e.g. [test]
        See Also:
        Constant Field Values
      • MAIL_RETURN_PATH

        static final java.lang.String MAIL_RETURN_PATH
        The key of the configuration. e.g. root@localhost
        See Also:
        Constant Field Values
    • Method Detail

      • get

        java.lang.String get​(java.lang.String propertyKey)
        Get the value of property as String.
        Parameters:
        propertyKey - The key of the property. (NotNull)
        Returns:
        The value of found property. (NotNull: if not found, exception)
        Throws:
        org.lastaflute.core.direction.exception.ConfigPropertyNotFoundException - When the property is not found.
      • is

        boolean is​(java.lang.String propertyKey)
        Is the property true?
        Parameters:
        propertyKey - The key of the property which is boolean type. (NotNull)
        Returns:
        The determination, true or false. (if not found, exception)
        Throws:
        org.lastaflute.core.direction.exception.ConfigPropertyNotFoundException - When the property is not found.
      • getLastaDiSmartDeployMode

        java.lang.String getLastaDiSmartDeployMode()
        Get 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)
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • getDevelopmentHere

        java.lang.String getDevelopmentHere()
        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)
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • isDevelopmentHere

        boolean isDevelopmentHere()
        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)
        Returns:
        The determination, true or false. (if not found, exception but basically no way)
      • getEnvironmentTitle

        java.lang.String getEnvironmentTitle()
        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)
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • getFrameworkDebug

        java.lang.String getFrameworkDebug()
        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)
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • isFrameworkDebug

        boolean isFrameworkDebug()
        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)
        Returns:
        The determination, true or false. (if not found, exception but basically no way)
      • getTimeAdjustTimeMillis

        java.lang.String getTimeAdjustTimeMillis()
        Get 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
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • getTimeAdjustTimeMillisAsLong

        java.lang.Long getTimeAdjustTimeMillisAsLong()
        Get the value for the key 'time.adjust.time.millis' as Long.
        The value is, e.g. 0
        comment: The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
        Throws:
        java.lang.NumberFormatException - When the property is not long.
      • getMailSendMock

        java.lang.String getMailSendMock()
        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)
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • isMailSendMock

        boolean isMailSendMock()
        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)
        Returns:
        The determination, true or false. (if not found, exception but basically no way)
      • getMailSmtpServerMainHostAndPort

        java.lang.String getMailSmtpServerMainHostAndPort()
        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
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • getMailSubjecttestPrefix

        java.lang.String getMailSubjecttestPrefix()
        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
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)
      • getMailReturnPath

        java.lang.String getMailReturnPath()
        Get the value for the key 'mail.return.path'.
        The value is, e.g. root@localhost
        comment: The common return path of all mail
        Returns:
        The value of found property. (NotNull: if not found, exception but basically no way)