public abstract class WarningAppender
extends java.lang.Object
TransformationWarning
objects,
usually to a list of warnings.Constructor and Description |
---|
WarningAppender() |
Modifier and Type | Method and Description |
---|---|
abstract void |
append(TransformationWarning.Type type,
java.lang.String message)
Constructs and appends a warning based on the given arguments.
|
abstract void |
append(TransformationWarning warning)
Appends the given warning.
|
abstract void |
appendFrom(ResultAndWarnings<?> resultAndWarnings)
Appends all warnings from the given
ResultAndWarnings object |
static WarningAppender |
fromMutableList(java.util.List<TransformationWarning> warningList) |
public abstract void appendFrom(@Nonnull ResultAndWarnings<?> resultAndWarnings)
ResultAndWarnings
objectpublic abstract void append(@Nonnull TransformationWarning.Type type, @Nonnull java.lang.String message)
public abstract void append(@Nonnull TransformationWarning warning)
@Nonnull public static WarningAppender fromMutableList(@Nonnull java.util.List<TransformationWarning> warningList)
Copyright © OpenCloud. All Rights Reserved.