Package com.avoka.fc.core.util
Class BuildProperties
java.lang.Object
com.avoka.fc.core.util.BuildProperties
Provides build time server properties.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The property storing the data retention policy (strict/relaxed)static final String
The log directory relative to the installation directorystatic final String
The "aws" deployment environment.static final String
The "azure" deployment environment.static final String
The "onprem" deployment environment. -
Constructor Summary
ConstructorDescriptionCreate a BuildProperties object that initializes itself from a resource bundle named "BuildProperties" -
Method Summary
Modifier and TypeMethodDescriptionReturn the database product that TM was built forReturn the configured data retention policy mode.Return the SmartForm Manager release versionString[]
Return the list of form types supported by this SmartForm Manager buildReturn the installation dir.Return the Amazon AWS region to be used in licensing data deliveryReturn the Amazon S3 access key to be used in licensing data delivery (if defined)Return the Amazon S3 bucket to be used in licensing data delivery (if defined)Return the Amazon S3 secret access key to be used in licensing data delivery (if defined)Return the default licensing system key that was entered during installation.Return the target version of Adobe LiveCycleReturn the log directory.Return the manager context path that was entered during installation.getMap()
Return a map representing all build propertiesReturn the Subversion revision number of this buildboolean
Return true if HTTP secure cookies are enabled.boolean
boolean
boolean
Return whether this server is using strict data retention policiesboolean
boolean
boolean
boolean
Return the true if groovy client data isolation is enforced.boolean
Return the true if Groovy Secure API restrictedboolean
Return true if this Journey Manager has LC deployedboolean
isLcES()
Return whether this SmartForm Manager build targets Adobe LiveCycle ES 8.2boolean
isLcNone()
Return true if this Journey Manager has no LC deployed
-
Field Details
-
MODE_AWS
The "aws" deployment environment.- See Also:
-
MODE_AZURE
The "azure" deployment environment.- Since:
- 20.05.0
- See Also:
-
MODE_ONPREM
The "onprem" deployment environment.- See Also:
-
DATA_RETENTION_POLICY
The property storing the data retention policy (strict/relaxed)- See Also:
-
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
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
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
Return the target version of Adobe LiveCycle- Returns:
- "none" as LC is no longer supported
-
getSvnRevisionNumber
Return the Subversion revision number of this build- Returns:
- the Subversion revision number
-
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
- Returns:
- the TM schema/database name.
- Since:
- 4.3.3
-
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
Return the database product that TM was built for- Returns:
- a string identifying the database product
- Since:
- 4.2.0
-
getLicensingAwsRegion
Return the Amazon AWS region to be used in licensing data delivery- Returns:
- the licensing AWS region
- Since:
- 4.3.4
-
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
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
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
- Returns:
- the deployment environment mode
- Since:
- 4.3.4
-
getDataRetentionPolicyMode
Return the configured data retention policy mode.- Returns:
- the data retention policy mode
- Since:
- 4.3.4
-
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
-
getManagerContextPath
Return the manager context path that was entered during installation.- Returns:
- tthe manager context path entered during installation
- Since:
- 23.10.1
-
getMap
Return a map representing all build properties- Returns:
- a map of all build properties
-