blob: 7c4a8912ce6fae145bb6726aab6d76abf39b4350 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package io.dico.dicore.command;
/**
* This enum is intended to provide some constants for default messages.
* Can be returned by a reflective command.
* Currently, no constants have an actual message.
* Prone to removal in the future because of lack of usefullness.
*/
public enum CommandResult {
SUCCESS(null),
QUIET_ERROR(null);
private final String message;
CommandResult(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
}
|