Class ProblemCollector
- java.lang.Object
-
- com.opencloud.slee.upgrade.transformation.engine.profile.ProblemCollector
-
public class ProblemCollector extends java.lang.Object
A ProblemCollector is used to raise warnings and errors during data transformation, and to access those warnings and errors after transformation.
-
-
Constructor Summary
Constructors Constructor Description ProblemCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCount()
java.util.List<TransformationWarning>
getErrors()
int
getWarningCount()
java.util.List<TransformationWarning>
getWarnings()
void
raiseError(TransformationWarning.Type type, java.lang.String message)
void
raiseError(TransformationWarning.Type type, java.lang.String message, java.lang.Throwable e)
void
raiseWarning(TransformationWarning warning)
void
raiseWarning(TransformationWarning.Type type, java.lang.String message)
void
raiseWarning(TransformationWarning.Type type, java.lang.String message, java.lang.String logContext)
void
raiseWarnings(ResultAndWarnings<?> resultAndWarnings)
-
-
-
Method Detail
-
raiseWarning
public void raiseWarning(TransformationWarning.Type type, java.lang.String message, java.lang.String logContext)
-
raiseWarning
public void raiseWarning(TransformationWarning.Type type, java.lang.String message)
-
raiseWarning
public void raiseWarning(TransformationWarning warning)
-
raiseWarnings
public void raiseWarnings(ResultAndWarnings<?> resultAndWarnings)
-
raiseError
public void raiseError(TransformationWarning.Type type, java.lang.String message)
-
raiseError
public void raiseError(TransformationWarning.Type type, java.lang.String message, java.lang.Throwable e)
-
getErrorCount
public int getErrorCount()
-
getWarningCount
public int getWarningCount()
-
getWarnings
public java.util.List<TransformationWarning> getWarnings()
-
getErrors
public java.util.List<TransformationWarning> getErrors()
-
-