public interface TransformerStatistics
| Modifier and Type | Method and Description |
|---|---|
long |
getAverageTime() |
long |
getCount() |
long |
getErrorCount() |
java.lang.String |
getSourceExt() |
java.lang.String |
getTargetExt() |
java.lang.String |
getTransformerName() |
boolean |
isSummary() |
void |
recordError(long transformationTime)
Adds 1 to the error count of this TransformationData and its parents.
|
void |
recordTime(long transformationTime) |
void |
setAverageTime(long averageTime) |
void |
setCount(long count) |
void |
setErrorCount(long errorCount) |
java.lang.String getSourceExt()
java.lang.String getTargetExt()
java.lang.String getTransformerName()
long getCount()
void setCount(long count)
count - overrides the number of time the transformer has been called.long getErrorCount()
void setErrorCount(long errorCount)
errorCount - overrides the number of time the transformer has failed.long getAverageTime()
void setAverageTime(long averageTime)
averageTime - overrides the average time taken by the the transformer.boolean isSummary()
true if this is the summary of all transformations done
by a transformer rather than just between two specific mimetypes.void recordTime(long transformationTime)
transformationTime - to be added to this TransformationData and its parents.void recordError(long transformationTime)
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.