public static enum AnnoyingMessage.ReplaceType extends java.lang.Enum<AnnoyingMessage.ReplaceType>
AnnoyingMessage.replace(String, Object, ReplaceType)| Enum Constant and Description |
|---|
DECIMAL |
TIME
Input is used as the format for
DurationFormatUtils.formatDuration(long, String) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getDefaultInput()
Gets the default input of the type
|
static AnnoyingMessage.ReplaceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnoyingMessage.ReplaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnoyingMessage.ReplaceType TIME
DurationFormatUtils.formatDuration(long, String)public static final AnnoyingMessage.ReplaceType DECIMAL
public static AnnoyingMessage.ReplaceType[] values()
for (AnnoyingMessage.ReplaceType c : AnnoyingMessage.ReplaceType.values()) System.out.println(c);
public static AnnoyingMessage.ReplaceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@NotNull @Contract(pure=true) public @NotNull java.lang.String getDefaultInput()
This is used if the user does not provide a custom input