Class WarningAppender
- java.lang.Object
-
- com.opencloud.slee.upgrade.transformation.engine.WarningAppender
-
public abstract class WarningAppender extends java.lang.Object
Assists in the addition ofTransformationWarning
objects, usually to a list of warnings.
-
-
Constructor Summary
Constructors Constructor Description WarningAppender()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
append(TransformationWarning warning)
Appends the given warning.abstract void
append(TransformationWarning.Type type, java.lang.String message)
Constructs and appends a warning based on the given arguments.abstract void
appendFrom(ResultAndWarnings<?> resultAndWarnings)
Appends all warnings from the givenResultAndWarnings
objectstatic WarningAppender
fromMutableList(java.util.List<TransformationWarning> warningList)
-
-
-
Method Detail
-
appendFrom
public abstract void appendFrom(@Nonnull ResultAndWarnings<?> resultAndWarnings)
Appends all warnings from the givenResultAndWarnings
object
-
append
public abstract void append(@Nonnull TransformationWarning.Type type, @Nonnull java.lang.String message)
Constructs and appends a warning based on the given arguments.
-
append
public abstract void append(@Nonnull TransformationWarning warning)
Appends the given warning.
-
fromMutableList
@Nonnull public static WarningAppender fromMutableList(@Nonnull java.util.List<TransformationWarning> warningList)
-
-