Interface TransformerConfigMBean
-
- All Known Implementing Classes:
TransformerConfigMBeanImpl
public interface TransformerConfigMBeanA management interface for monitoring Content Transformer configuration and statistics.- Author:
- Alan Davis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getExtensionsAndMimetypes()Lists all configured mimetypes, proceeded by its primary file extension.java.lang.String[]getTestFileExtensionsAndMimetypes()Lists the extensions of available test files.java.lang.String[]getTransformationDebugLog(int n)Returns the last n entries in the transformation debug log.java.lang.String[]getTransformationLog(int n)Returns the last n entries in the transformation log.java.lang.StringgetTransformationsByExtension(java.lang.String sourceExtension, java.lang.String targetExtension)Lists all possible transformations sorted by source and then target mimetype extension.java.lang.Stringhelp()Returns a description of each method and its parameters.java.lang.StringtestTransform(java.lang.String sourceExtension, java.lang.String targetExtension)Transforms a small test file from one mimetype to another and then shows the debug of the transform, which would indicate if it was successful or even if it was possible.
-
-
-
Method Detail
-
getExtensionsAndMimetypes
java.lang.String[] getExtensionsAndMimetypes()
Lists all configured mimetypes, proceeded by its primary file extension.
-
getTransformationsByExtension
java.lang.String getTransformationsByExtension(java.lang.String sourceExtension, java.lang.String targetExtension)Lists all possible transformations sorted by source and then target mimetype extension.- Parameters:
sourceExtension- to be checked. If null all source mimetypes are included.targetExtension- to be checked. If null all target mimetypes are included.
-
getTransformationLog
java.lang.String[] getTransformationLog(int n)
Returns the last n entries in the transformation log.
-
getTransformationDebugLog
java.lang.String[] getTransformationDebugLog(int n)
Returns the last n entries in the transformation debug log.
-
testTransform
java.lang.String testTransform(java.lang.String sourceExtension, java.lang.String targetExtension)Transforms a small test file from one mimetype to another and then shows the debug of the transform, which would indicate if it was successful or even if it was possible.- Parameters:
sourceExtension- used to identify the mimetypetargetExtension- used to identify the mimetype- Returns:
- Text indicating if the transform was possible and any debug
-
getTestFileExtensionsAndMimetypes
java.lang.String[] getTestFileExtensionsAndMimetypes()
Lists the extensions of available test files.
-
help
java.lang.String help()
Returns a description of each method and its parameters.
-
-