Package com.avoka.fc.core.util
Class BuildProperties
- java.lang.Object
-
- com.avoka.fc.core.util.BuildProperties
-
public class BuildProperties extends Object
Provides build time server properties.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATA_RETENTION_POLICYThe property storing the data retention policy (strict/relaxed)static StringLOG_DIRECTORYThe log directory relative to the installation directorystatic StringMODE_AWSThe "aws" deployment environment.static StringMODE_AZUREThe "azure" deployment environment.static StringMODE_ONPREMThe "onprem" deployment environment.
-
Constructor Summary
Constructors Constructor Description BuildProperties()Create a BuildProperties object that initializes itself from a resource bundle named "BuildProperties"
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatabaseProduct()Return the database product that TM was built forStringgetDatabaseSchema()StringgetDataRetentionPolicyMode()Return the configured data retention policy mode.StringgetDeploymentEnv()StringgetFormCenterVersion()Return the SmartForm Manager release versionString[]getFormTypes()Return the list of form types supported by this SmartForm Manager buildStringgetInstallationDir()Return the installation dir.StringgetLicensingAwsRegion()Return the Amazon AWS region to be used in licensing data deliveryStringgetLicensingDeliveryAccessKey()Return the Amazon S3 access key to be used in licensing data delivery (if defined)StringgetLicensingDeliveryBucket()Return the Amazon S3 bucket to be used in licensing data delivery (if defined)StringgetLicensingDeliverySecretAccessKey()Return the Amazon S3 secret access key to be used in licensing data delivery (if defined)StringgetLicensingSystemKey()Return the default licensing system key that was entered during installation.StringgetLiveCycleVersion()Return the target version of Adobe LiveCycleStringgetLogDir()Return the log directory.Map<String,String>getMap()Return a map representing all build propertiesStringgetSvnRevisionNumber()Return the Subversion revision number of this buildbooleanisCookieSecure()Return true if HTTP secure cookies are enabled.booleanisDatabaseMysql()booleanisDatabaseOracle()booleanisDataRetentionPolicyStrict()Return whether this server is using strict data retention policiesbooleanisDeploymentEnvAws()booleanisDeploymentEnvAzure()booleanisDeploymentEnvOnprem()booleanisGroovyClientDataIsolation()Return the true if groovy client data isolation is enforced.booleanisGroovySecureAPI()Return the true if Groovy Secure API restrictedbooleanisLcBuild()Return true if this Journey Manager has LC deployedbooleanisLcES()Return whether this SmartForm Manager build targets Adobe LiveCycle ES 8.2booleanisLcNone()Return true if this Journey Manager has no LC deployed
-
-
-
Field Detail
-
MODE_AWS
public static final String MODE_AWS
The "aws" deployment environment.- See Also:
- Constant Field Values
-
MODE_AZURE
public static final String MODE_AZURE
The "azure" deployment environment.- Since:
- 20.05.0
- See Also:
- Constant Field Values
-
MODE_ONPREM
public static final String MODE_ONPREM
The "onprem" deployment environment.- See Also:
- Constant Field Values
-
DATA_RETENTION_POLICY
public static final String DATA_RETENTION_POLICY
The property storing the data retention policy (strict/relaxed)- See Also:
- Constant Field Values
-
LOG_DIRECTORY
public static final String LOG_DIRECTORY
The log directory relative to the installation directory
-
-
Method Detail
-
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
-
-