public class MigrationInformation 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 |
---|
MigrationInformation(String message)
Constructs a new migration informational message with the specified detail message.
|
MigrationInformation(String format,
Object... args)
Constructs a new migration informational message 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 MigrationInformation(String message)
Note: Detail messages are displayed to the administrator on the console during a migration operation.
message
- the detail message for this informational messageIllegalArgumentException
- if message
is null
public MigrationInformation(String format, @Nullable Object... args)
format
- the format string for the detail message for this information message (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.