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

134 lines
3.8 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.sys.BComponent
* javax.baja.sys.Property
* javax.baja.sys.Sys
* javax.baja.sys.Type
*/
package com.tridium.platform;
import javax.baja.sys.BComponent;
import javax.baja.sys.Property;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public class BFilesystemAttributes
extends BComponent {
public static final Property totalSpace = BFilesystemAttributes.newProperty((int)3, (int)-1, null);
public static final Property freeSpace = BFilesystemAttributes.newProperty((int)3, (int)-1, null);
public static final Property blockSize = BFilesystemAttributes.newProperty((int)3, (int)-1, null);
public static final Property currentFileCount = BFilesystemAttributes.newProperty((int)3, (int)-1, null);
public static final Property maxFileCount = BFilesystemAttributes.newProperty((int)3, (int)-1, null);
public static final Property isFlash = BFilesystemAttributes.newProperty((int)3, (boolean)false, null);
public static final Property isRamDisk = BFilesystemAttributes.newProperty((int)3, (boolean)false, null);
public static final Type TYPE;
static /* synthetic */ Class class$com$tridium$platform$BFilesystemAttributes;
public long getTotalSpace() {
return this.getLong(totalSpace);
}
public void setTotalSpace(long l) {
this.setLong(totalSpace, l, null);
}
public long getFreeSpace() {
return this.getLong(freeSpace);
}
public void setFreeSpace(long l) {
this.setLong(freeSpace, l, null);
}
public int getBlockSize() {
return this.getInt(blockSize);
}
public void setBlockSize(int n) {
this.setInt(blockSize, n, null);
}
public long getCurrentFileCount() {
return this.getLong(currentFileCount);
}
public void setCurrentFileCount(long l) {
this.setLong(currentFileCount, l, null);
}
public long getMaxFileCount() {
return this.getLong(maxFileCount);
}
public void setMaxFileCount(long l) {
this.setLong(maxFileCount, l, null);
}
public boolean getIsFlash() {
return this.getBoolean(isFlash);
}
public void setIsFlash(boolean bl) {
this.setBoolean(isFlash, bl, null);
}
public boolean getIsRamDisk() {
return this.getBoolean(isRamDisk);
}
public void setIsRamDisk(boolean bl) {
this.setBoolean(isRamDisk, bl, null);
}
public Type getType() {
return TYPE;
}
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());
}
}
public BFilesystemAttributes() {
}
public BFilesystemAttributes(long l, long l2, int n) {
this(l, l2, n, -1, -1, false);
}
public BFilesystemAttributes(long l, long l2, int n, boolean bl) {
this(l, l2, n, -1, -1, bl);
}
public BFilesystemAttributes(long l, long l2, int n, long l3, long l4, boolean bl) {
this.setTotalSpace(l);
this.setFreeSpace(l2);
this.setBlockSize(n);
this.setIsFlash(bl);
this.setMaxFileCount(l3);
this.setCurrentFileCount(l4);
}
static {
Class clazz = class$com$tridium$platform$BFilesystemAttributes;
if (clazz == null) {
clazz = class$com$tridium$platform$BFilesystemAttributes = BFilesystemAttributes.class("[Lcom.tridium.platform.BFilesystemAttributes;", false);
}
TYPE = Sys.loadType((Class)clazz);
}
}