75 lines
2.4 KiB
Java
75 lines
2.4 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* javax.baja.sys.BFrozenEnum
|
|
* javax.baja.sys.Sys
|
|
* javax.baja.sys.Type
|
|
*/
|
|
package com.tridium.platform.ewf;
|
|
|
|
import javax.baja.sys.BFrozenEnum;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public final class BEwfBootCommand
|
|
extends BFrozenEnum {
|
|
public static final int NO_CMD = 0;
|
|
public static final int ENABLE = 1;
|
|
public static final int DISABLE = 2;
|
|
public static final int SET_LEVEL = 3;
|
|
public static final int COMMIT = 4;
|
|
public static final int UNKNOWN = 5;
|
|
public static final BEwfBootCommand noCmd = new BEwfBootCommand(0);
|
|
public static final BEwfBootCommand enable = new BEwfBootCommand(1);
|
|
public static final BEwfBootCommand disable = new BEwfBootCommand(2);
|
|
public static final BEwfBootCommand setLevel = new BEwfBootCommand(3);
|
|
public static final BEwfBootCommand commit = new BEwfBootCommand(4);
|
|
public static final BEwfBootCommand unknown = new BEwfBootCommand(5);
|
|
public static final Type TYPE;
|
|
public static final BEwfBootCommand DEFAULT;
|
|
static /* synthetic */ Class class$com$tridium$platform$ewf$BEwfBootCommand;
|
|
|
|
public final Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public static final BEwfBootCommand make(int n) {
|
|
return (BEwfBootCommand)noCmd.getRange().get(n, false);
|
|
}
|
|
|
|
public static final BEwfBootCommand make(String string) {
|
|
return (BEwfBootCommand)noCmd.getRange().get(string);
|
|
}
|
|
|
|
static /* synthetic */ Class class(String string, boolean bl) {
|
|
try {
|
|
Class<?> clazz = Class.forName(string);
|
|
if (!bl) {
|
|
clazz = clazz.getComponentType();
|
|
}
|
|
return clazz;
|
|
}
|
|
catch (ClassNotFoundException classNotFoundException) {
|
|
throw new NoClassDefFoundError(classNotFoundException.getMessage());
|
|
}
|
|
}
|
|
|
|
private BEwfBootCommand(int n) {
|
|
super(n);
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$platform$ewf$BEwfBootCommand;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$platform$ewf$BEwfBootCommand = BEwfBootCommand.class("[Lcom.tridium.platform.ewf.BEwfBootCommand;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
DEFAULT = noCmd;
|
|
}
|
|
}
|
|
|