public class SharedOptions extends OptionContainer
| Modifier and Type | Field and Description | 
|---|---|
| static ObjectListOption | CheckboxActionsList of actions to perform on named checkboxes in the document while scrubbing. | 
| static ObjectOption | DebugInfoCollectorOracle internal option. | 
| static EnumOption | DecryptionStatusProvides information on if and how decryption took place. | 
| static BooleanOption | JustIdentifyIgnore all other settings and just identify the file format of the source document. | 
| static BooleanOption | LoggedErrorAn error occured and was logged while processing the document. | 
| static BooleanOption | LoggedWarningA warning occured and was logged while processing the document. | 
| static EnumOption | ProcessingStatusDescribes why the document could not be processed. | 
| static IntegerOption | RequestTimeoutAmount of time in milliseconds a request can execute before being timed out. | 
| static FileOption | SourceDocumentThe document to process. | 
| static FileFormatOption | SourceFormatThe file format of the source document. | 
| static BooleanOption | TimeoutUsingThreadStopIf set to 'true', requests in tight infinite loops will be stopped using the depricated Thread.stop method. | 
| static BooleanOption | WasExceptionAn exception occured while processing the document. | 
| static BooleanOption | WasIdentifiedThe source document was identified. | 
| static BooleanOption | WasProcessedThe source document was scrubbed, analyzed or extracted. | 
| static BooleanOption | WasSupportedThe source document's file format is supported. | 
| static BooleanOption | WasTimeoutDocument took long than the request's RequestTimeout value to process. | 
| Modifier and Type | Method and Description | 
|---|---|
| OptionContainer[] | getAllContainers()Get all the option containers in this container | 
| Option[] | getAllOptions()Gets all the options in this container | 
| Option | mapOptionId(int id)Maps an integer id of an option in this list to the option itself. | 
| Option | mapOptionId(java.lang.String id)Maps an string id of an option in this list to the option itself. | 
getId, writeXMLpublic static final FileOption SourceDocument
This option gives the developer a number of ways to provide the document to analyze, scrub or extract.
public static final FileFormatOption SourceFormat
This result provides the file format of the source document.
public static final BooleanOption WasIdentified
The source document was identified.
 Default value is 
            false
            
public static final BooleanOption WasSupported
The source document's file format is supported and processing was attempted.
 Default value is 
            false
            
public static final BooleanOption WasProcessed
The source document was scrubbed, analyzed or extracted. Will be set to false if no component could be found to process the source document.
 Default value is 
            false
            
public static final BooleanOption WasException
An exception occured while processing the document. This is somewhat redundant since the developer will receive the exception itself but is included so the SecureResult can stand alone to completely describe the result of processing a document.
 Default value is 
            false
            
public static final BooleanOption WasTimeout
The document took long than the request's RequestTimeout value to process or was interrupted.
 Default value is 
            false
            
public static final EnumOption ProcessingStatus
An enumeration of the possible reasons the document could not be processed.
Only the following values are allowed:
ProcessingStatusOption.Processed
                The document was processed successfully
ProcessingStatusOption.NotIdentified
                The document could not be indetified
ProcessingStatusOption.NotSupported
                The document's file format is not supported
ProcessingStatusOption.CausedException
                Processing the document caused an exception
ProcessingStatusOption.Timeout
                Processing the document timed out before it could complete
 Default value is 
            PROCESSINGSTATUS_Processed
            
public static final EnumOption DecryptionStatus
An enumeration of the possible outcomes of decryption.
Only the following values are allowed:
DecryptionStatusOption.NotEncrypted
                The document contained no encryption
DecryptionStatusOption.DecryptedWithDefaultPassword
                Parts of the document were encrypted and were successfully decrypted with the default password
DecryptionStatusOption.DecryptedWithPasswordList
                Parts of the document were encrypted and were successfully decrypted with a password from the list provided
DecryptionStatusOption.DecryptionFailed
                Parts of the document were encrypted but could not be decrypted with any of the default or provided passwords
DecryptionStatusOption.DecryptionNotSupported
                Parts of the document were encrypted using an unsupported encryption method
 Default value is 
            DECRYPTIONSTATUS_NotEncrypted
            
public static final BooleanOption LoggedError
An error occured and was logged while processing the document. Errors include exceptions that end processing (WasException will also be true) and other conditions that don't cause exceptions but may lead major loss of functionallity. See the log for details.
 Default value is 
            false
            
public static final BooleanOption LoggedWarning
A warning occured and was logged while processing the document. Warnings include conditions that may lead to small losses of functionallity. See log for details.
 Default value is 
            false
            
public static final IntegerOption RequestTimeout
The amount of time in milliseconds a request can execute before being timed out. Timeouts are useful for the extreemly rare cases where malformed documents cause infinite loops within the Clean Content code. While it is tempting to set this number low since most documents process in much less than 100 ms, very large or complex documents can take a significant amount of time to process hence the 2 minute default for this option. A value of zero may be used to disable timeout for the request but this is not recommended.
 Default value is 
            120000
            
public static final BooleanOption TimeoutUsingThreadStop
When a malformed document pushes Clean Content into an infinite loop, a monitoring thread attempts to interrupt the thread after a certain timeout period given by the RequestTimeout option. One of two things will then occur: 1) if the request is in a loop that can be interrupted then the request will be stopped and the SecureRequest execute method will return, 2) if in the very rare case the request is in a tight loop and this option is set to 'true' the monitoring thread will use the depricate Thread.stop method to kill the thread. Anyone setting this option to 'true' must understand the implications of having the Java thread running the request destroyed. See the Java API documentation for java.lang.Thread for details.
 Default value is 
            false
            
public static final BooleanOption JustIdentify
When this option is true the only action that will be taken is to identify the file format of the source document.
 Default value is 
            false
            
public static final ObjectListOption CheckboxActions
A List of actions to perform on named checkboxes in the document while scrubbing.
public static final ObjectOption DebugInfoCollector
Oracle internal option
public Option mapOptionId(int id)
OptionContainermapOptionId in class OptionContainerid - The unique string identifier for an optionpublic final Option[] getAllOptions()
OptionContainergetAllOptions in class OptionContainerpublic final Option mapOptionId(java.lang.String id)
OptionContainermapOptionId in class OptionContainerid - The unique string identifier for an optionpublic final OptionContainer[] getAllContainers()
OptionContainergetAllContainers in class OptionContainerCopyright © 2021 Oracle. All right reserved. Restricted and confidential property of Oracle. Solely for use by recipent under agreement forbidding disclosure.