|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.service.ddxm.client.Environment
public class Environment
Environment is the container for the "environment" options for a DDX job.
Current environment parameters include the job log level, the default font, and flags to
indicate if the DDX job is a validation-only test or if it should fail at the first sign of trouble.
| Constructor Summary | |
|---|---|
Environment()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultFontStyle()
Retrieves the default font style. |
java.util.Locale |
getDefaultLocale()
Retrieves the default locale. |
java.util.logging.Level |
getLogLevel()
Retrieves the log level. |
boolean |
isFailOnError()
Determines whether the DDX job should exit immediately when an Exception or other error occurs. |
boolean |
isFipsCompliant()
Specifies whether FIPS 140-2 should be followed. |
boolean |
isValidateOnly()
Determines whether the DDX job is a validation-only test. |
void |
setDefaultFontStyle(java.lang.String defaultFontStyle)
Sets the default font. |
void |
setDefaultLocale(java.util.Locale defaultLocale)
Specifies the locale to use if no TargetLocale is specified in the DDX. |
void |
setFailOnError(boolean failOnError)
Sets whether the DDX job should exit immediately when an Exception or other error occurs. |
void |
setFipsCompliant(boolean fipsCompliant)
Specifies whether FIPS 140-2 should be followed. |
void |
setLogLevel(java.util.logging.Level logLevel)
Sets the log level. |
void |
setValidateOnly(boolean validateOnly)
Sets whether the DDX job is a validation-only test, which means that Assembler should validate the DDX but not execute it. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Environment()
| Method Detail |
|---|
public java.lang.String getDefaultFontStyle()
java.lang.String containing the default font style.public void setDefaultFontStyle(java.lang.String defaultFontStyle)
defaultFontStyle - The default font style to be set.public java.util.logging.Level getLogLevel()
java.lang.String containing the log level.public void setLogLevel(java.util.logging.Level logLevel)
logLevel - The log level to be set.public boolean isValidateOnly()
true if the DDX job is a validation-only test, false otherwise.public void setValidateOnly(boolean validateOnly)
validateOnly - A value of true halts processing of the DDX after the DDX has
been parsed and verified to be in compliance with the schema and application validation
rules. In this case the result map will be null, and the input map is
allowed to be empty or null since the input data streams are not evaluated until
actually used during job execution. The default is false, meaning that normal processing
will be performed.public boolean isFailOnError()
Exception or other error occurs.
true if the DDX job should exit immediately when an Exception or other
error occurs, false otherwise.public void setFailOnError(boolean failOnError)
Exception or other error occurs.
failOnError - A value of true means that the job will terminate upon an error or
exception condition and throw the corresponding Throwable exception. A value of
false means that the job will terminate the current DDX result block,
store the Throwable exception in the output map, and attempt to execute any remaining
result blocks. The default is true, meaning that the first error will terminate the
DDX job immediately.public java.util.Locale getDefaultLocale()
public void setDefaultLocale(java.util.Locale defaultLocale)
TargetLocale is specified in the DDX. Initially
the default locale is java.util.Locale.ENGLISH.
defaultLocale - the defaultLocale to setpublic boolean isFipsCompliant()
true if FIPS 140-2 should be followed, false otherwise.public void setFipsCompliant(boolean fipsCompliant)
fipsCompliant - true if FIPS 140-2 should be followed, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||