javac-wrapper: refactoring, fixes and tests
This commit is contained in:
committed by
Alexander Baratynskiy
parent
8494e54608
commit
01883a41cb
@@ -0,0 +1,18 @@
|
||||
package test;
|
||||
|
||||
public enum EnumValues {
|
||||
OK(0),
|
||||
COMPILATION_ERROR(1),
|
||||
INTERNAL_ERROR(2),
|
||||
SCRIPT_EXECUTION_ERROR(3);
|
||||
|
||||
private final int code;
|
||||
|
||||
EnumValues(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user