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 String[]getExtensionsAndMimetypes()Lists all configured mimetypes, proceeded by its primary file extension.String[]getTestFileExtensionsAndMimetypes()Lists the extensions of available test files.String[]getTransformationDebugLog(int n)Returns the last n entries in the transformation debug log.String[]getTransformationLog(int n)Returns the last n entries in the transformation log.StringgetTransformationsByExtension(String sourceExtension, String targetExtension)Lists all possible transformations sorted by source and then target mimetype extension.Stringhelp()Returns a description of each method and its parameters.StringtestTransform(String sourceExtension, 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
String[] getExtensionsAndMimetypes()
Lists all configured mimetypes, proceeded by its primary file extension.
-
getTransformationsByExtension
String getTransformationsByExtension(String sourceExtension, 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
String[] getTransformationLog(int n)
Returns the last n entries in the transformation log.
-
getTransformationDebugLog
String[] getTransformationDebugLog(int n)
Returns the last n entries in the transformation debug log.
-
testTransform
String testTransform(String sourceExtension, 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
String[] getTestFileExtensionsAndMimetypes()
Lists the extensions of available test files.
-
help
String help()
Returns a description of each method and its parameters.
-
-