Class BuildProperties

java.lang.Object
com.avoka.fc.core.util.BuildProperties

public class BuildProperties extends Object
Provides build time server properties.
  • Field Details

    • MODE_AWS

      public static final String MODE_AWS
      The "aws" deployment environment.
      See Also:
    • MODE_AZURE

      public static final String MODE_AZURE
      The "azure" deployment environment.
      Since:
      20.05.0
      See Also:
    • MODE_ONPREM

      public static final String MODE_ONPREM
      The "onprem" deployment environment.
      See Also:
    • DATA_RETENTION_POLICY

      public static final String DATA_RETENTION_POLICY
      The property storing the data retention policy (strict/relaxed)
      See Also:
    • LOG_DIRECTORY

      public static final String LOG_DIRECTORY
      The log directory relative to the installation directory
  • Constructor Details

    • BuildProperties

      public BuildProperties()
      Create a BuildProperties object that initializes itself from a resource bundle named "BuildProperties"
  • Method Details

    • isCookieSecure

      public boolean isCookieSecure()
      Return true if HTTP secure cookies are enabled.
      Returns:
      true if HTTP secure cookies are enabled
      Since:
      5.1.0
    • getFormTypes

      public String[] getFormTypes()
      Return the list of form types supported by this SmartForm Manager build
      Returns:
      a list of form type strings
    • isDataRetentionPolicyStrict

      public boolean isDataRetentionPolicyStrict()
      Return whether this server is using strict data retention policies
      Returns:
      true if the data retention policy is "strict"
      Since:
      4.3.3
    • getFormCenterVersion

      public String getFormCenterVersion()
      Return the SmartForm Manager release version
      Returns:
      a string containing the SmartForm Manager release version
    • isGroovyClientDataIsolation

      public boolean isGroovyClientDataIsolation()
      Return the true if groovy client data isolation is enforced.
      Returns:
      true, if is groovy client data isolation
      Since:
      4.0.0
    • isGroovySecureAPI

      public boolean isGroovySecureAPI()
      Return the true if Groovy Secure API restricted
      Returns:
      true if Groovy Secure API restricted
    • isLcES

      public boolean isLcES()
      Return whether this SmartForm Manager build targets Adobe LiveCycle ES 8.2
      Returns:
      whether the target version of LiveCycle is 8.2.x
    • isLcBuild

      public boolean isLcBuild()
      Return true if this Journey Manager has LC deployed
      Returns:
      false as LC is no longer supported
      Since:
      4.0.7
    • isLcNone

      public boolean isLcNone()
      Return true if this Journey Manager has no LC deployed
      Returns:
      true as LC is no longer supported
      Since:
      4.0.7
    • getLiveCycleVersion

      public String getLiveCycleVersion()
      Return the target version of Adobe LiveCycle
      Returns:
      "none" as LC is no longer supported
    • getSvnRevisionNumber

      public String getSvnRevisionNumber()
      Return the Subversion revision number of this build
      Returns:
      the Subversion revision number
    • getInstallationDir

      public String getInstallationDir()
      Return the installation dir.
      Returns:
      the installation dir
    • isDatabaseMysql

      public boolean isDatabaseMysql()
      Returns:
      true if database is MySQL.
      Since:
      4.3.3
    • isDatabaseOracle

      public boolean isDatabaseOracle()
      Returns:
      true if database is Oracle.
      Since:
      4.3.4
    • getDatabaseSchema

      public String getDatabaseSchema()
      Returns:
      the TM schema/database name.
      Since:
      4.3.3
    • getLogDir

      public String getLogDir()
      Return the log directory. The log directory is at [installation dir]/server/standalone/log
      Returns:
      the server log directory
      Since:
      4.0.0
    • getDatabaseProduct

      public String getDatabaseProduct()
      Return the database product that TM was built for
      Returns:
      a string identifying the database product
      Since:
      4.2.0
    • getLicensingAwsRegion

      public String getLicensingAwsRegion()
      Return the Amazon AWS region to be used in licensing data delivery
      Returns:
      the licensing AWS region
      Since:
      4.3.4
    • getLicensingDeliveryBucket

      public String getLicensingDeliveryBucket()
      Return the Amazon S3 bucket to be used in licensing data delivery (if defined)
      Returns:
      the licensing S3 bucket name
      Since:
      4.2.0
    • getLicensingDeliveryAccessKey

      public String getLicensingDeliveryAccessKey()
      Return the Amazon S3 access key to be used in licensing data delivery (if defined)
      Returns:
      the licensing S3 access key
      Since:
      4.2.0
    • getLicensingDeliverySecretAccessKey

      public String getLicensingDeliverySecretAccessKey()
      Return the Amazon S3 secret access key to be used in licensing data delivery (if defined)
      Returns:
      the licensing S3 secret access key
      Since:
      4.2.0
    • isDeploymentEnvAws

      public boolean isDeploymentEnvAws()
      Returns:
      true if deployment environment is Aws.
      Since:
      4.3.4
    • isDeploymentEnvAzure

      public boolean isDeploymentEnvAzure()
      Returns:
      true if deployment environment is azure.
      Since:
      20.05.0
    • isDeploymentEnvOnprem

      public boolean isDeploymentEnvOnprem()
      Returns:
      true if deployment environment is Onprem.
      Since:
      4.3.4
    • getDeploymentEnv

      public String getDeploymentEnv()
      Returns:
      the deployment environment mode
      Since:
      4.3.4
    • getDataRetentionPolicyMode

      public String getDataRetentionPolicyMode()
      Return the configured data retention policy mode.
      Returns:
      the data retention policy mode
      Since:
      4.3.4
    • getLicensingSystemKey

      public String getLicensingSystemKey()
      Return the default licensing system key that was entered during installation. This is not necessarily the key currently used by the system.
      Returns:
      the licensing key entered during installation
      Since:
      4.3.4
    • getMap

      public Map<String,String> getMap()
      Return a map representing all build properties
      Returns:
      a map of all build properties