public class MigrationWarning extends Object implements MigrationMessage
Note: Detail messages are displayed to the administrator on the console during a migration operation.
This code is experimental. While this class is functional and tested, it may change or be removed in a future version of the library.
Constructor and Description |
---|
MigrationWarning(String message)
Constructs a new migration warning with the specified detail message.
|
MigrationWarning(String format,
Object... args)
Constructs a new migration warning with the specified detail message to be formatted with the
specified parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets the string representation for this migration message.
|
String |
toString() |
public MigrationWarning(String message)
Note: Detail messages are displayed to the administrator on the console during a migration operation.
message
- the detail message for this warningIllegalArgumentException
- if message
is null
public MigrationWarning(String format, @Nullable Object... args)
format
- the format string for the detail message for this warning (see String.format(java.lang.String, java.lang.Object...)
)args
- the arguments to the format messageIllegalArgumentException
- if format
is null
public String getMessage()
MigrationMessage
getMessage
in interface MigrationMessage
This work is licensed under a Creative Commons Attribution 4.0 International License.