Package ml.karmaconfigs.api.common.utils
Class PrefixConsoleData
java.lang.Object
ml.karmaconfigs.api.common.utils.PrefixConsoleData
- All Implemented Interfaces:
Serializable
Karma console prefix data
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionPrefixConsoleData(@NotNull KarmaSource p)Initialize the prefix console data -
Method Summary
Modifier and TypeMethodDescriptionSet the grave prefixGet the info prefixGet the OK prefixGet the warning prefixvoidsetGravePrefix(@NotNull String prefix)Set the grave prefixvoidsetInfoPrefix(@NotNull String prefix)Set the info prefixvoidsetOkPrefix(@NotNull String prefix)Set the OK prefixvoidsetWarnPrefix(@NotNull String prefix)Set the warning prefix
-
Constructor Details
-
PrefixConsoleData
Initialize the prefix console data- Parameters:
p- the source owner
-
-
Method Details
-
setOkPrefix
Set the OK prefix- Parameters:
prefix- the prefix
-
setInfoPrefix
Set the info prefix- Parameters:
prefix- the prefix
-
setWarnPrefix
Set the warning prefix- Parameters:
prefix- the prefix
-
setGravePrefix
Set the grave prefix- Parameters:
prefix- the prefix
-
getOkPrefix
Get the OK prefix- Returns:
- the prefix
-
getInfoPrefix
Get the info prefix- Returns:
- the info prefix
-
getWarningPrefix
Get the warning prefix- Returns:
- the warning prefix
-
getGravePrefix
Set the grave prefix- Returns:
- the grave prefix
-