Interface TransformerConfigMBean
- All Known Implementing Classes:
TransformerConfigMBeanImpl
public interface TransformerConfigMBean
A management interface for monitoring Content Transformer configuration and statistics.
- Author:
- Alan Davis
-
Method Summary
Modifier and TypeMethodDescriptionString[]Lists all configured mimetypes, proceeded by its primary file extension.String[]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.getTransformationsByExtension(String sourceExtension, String targetExtension) Lists all possible transformations sorted by source and then target mimetype extension.help()Returns a description of each method and its parameters.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.
-
Method Details
-
getExtensionsAndMimetypes
String[] getExtensionsAndMimetypes()Lists all configured mimetypes, proceeded by its primary file extension. -
getTransformationsByExtension
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
Returns the last n entries in the transformation log. -
getTransformationDebugLog
Returns the last n entries in the transformation debug log. -
testTransform
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.
-