niagara-ax/modules/cfr_output/com/tridium/install/BPartInstallStatus.java
2026-03-17 13:31:18 -07:00

77 lines
2.6 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;
import javax.baja.sys.BFrozenEnum;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public final class BPartInstallStatus
extends BFrozenEnum {
public static final int NOT_FOUND = 0;
public static final int NO_CHANGE = 1;
public static final int INSTALL = 2;
public static final int UPGRADE = 3;
public static final int REINSTALL = 4;
public static final int DOWNGRADE = 5;
public static final int UNINSTALL = 6;
public static final BPartInstallStatus notFound = new BPartInstallStatus(0);
public static final BPartInstallStatus noChange = new BPartInstallStatus(1);
public static final BPartInstallStatus install = new BPartInstallStatus(2);
public static final BPartInstallStatus upgrade = new BPartInstallStatus(3);
public static final BPartInstallStatus reinstall = new BPartInstallStatus(4);
public static final BPartInstallStatus downgrade = new BPartInstallStatus(5);
public static final BPartInstallStatus uninstall = new BPartInstallStatus(6);
public static final Type TYPE;
public static final BPartInstallStatus DEFAULT;
static /* synthetic */ Class class$com$tridium$install$BPartInstallStatus;
public final Type getType() {
return TYPE;
}
public static final BPartInstallStatus make(int n) {
return (BPartInstallStatus)notFound.getRange().get(n, false);
}
public static final BPartInstallStatus make(String string) {
return (BPartInstallStatus)notFound.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 BPartInstallStatus(int n) {
super(n);
}
static {
Class clazz = class$com$tridium$install$BPartInstallStatus;
if (clazz == null) {
clazz = class$com$tridium$install$BPartInstallStatus = BPartInstallStatus.class("[Lcom.tridium.install.BPartInstallStatus;", false);
}
TYPE = Sys.loadType((Class)clazz);
DEFAULT = notFound;
}
}