71 lines
2.1 KiB
Java
71 lines
2.1 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.install.part;
|
|
|
|
import javax.baja.sys.BFrozenEnum;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public final class BModuleStatus
|
|
extends BFrozenEnum {
|
|
public static final int OK = 0;
|
|
public static final int CORRUPT = 1;
|
|
public static final int NOMANIFEST = 2;
|
|
public static final int MISNAMED = 3;
|
|
public static final BModuleStatus ok = new BModuleStatus(0);
|
|
public static final BModuleStatus corrupt = new BModuleStatus(1);
|
|
public static final BModuleStatus nomanifest = new BModuleStatus(2);
|
|
public static final BModuleStatus misnamed = new BModuleStatus(3);
|
|
public static final Type TYPE;
|
|
public static final BModuleStatus DEFAULT;
|
|
static /* synthetic */ Class class$com$tridium$install$part$BModuleStatus;
|
|
|
|
public final Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public static final BModuleStatus make(int n) {
|
|
return (BModuleStatus)ok.getRange().get(n, false);
|
|
}
|
|
|
|
public static final BModuleStatus make(String string) {
|
|
return (BModuleStatus)ok.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 BModuleStatus(int n) {
|
|
super(n);
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$install$part$BModuleStatus;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$install$part$BModuleStatus = BModuleStatus.class("[Lcom.tridium.install.part.BModuleStatus;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
DEFAULT = ok;
|
|
}
|
|
}
|
|
|