Package in.dragonbra.javasteam.enums
Enum EDepotFileFlag
- java.lang.Object
-
- java.lang.Enum<EDepotFileFlag>
-
- in.dragonbra.javasteam.enums.EDepotFileFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EDepotFileFlag>
public enum EDepotFileFlag extends java.lang.Enum<EDepotFileFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CustomExecutableDirectoryEncryptedExecutableHiddenInstallScriptReadOnlySymlinkUserConfigVersionedUserConfig
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static intcode(java.util.EnumSet<EDepotFileFlag> flags)static java.util.EnumSet<EDepotFileFlag>from(int code)static EDepotFileFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EDepotFileFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UserConfig
public static final EDepotFileFlag UserConfig
-
VersionedUserConfig
public static final EDepotFileFlag VersionedUserConfig
-
Encrypted
public static final EDepotFileFlag Encrypted
-
ReadOnly
public static final EDepotFileFlag ReadOnly
-
Hidden
public static final EDepotFileFlag Hidden
-
Executable
public static final EDepotFileFlag Executable
-
Directory
public static final EDepotFileFlag Directory
-
CustomExecutable
public static final EDepotFileFlag CustomExecutable
-
InstallScript
public static final EDepotFileFlag InstallScript
-
Symlink
public static final EDepotFileFlag Symlink
-
-
Method Detail
-
values
public static EDepotFileFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EDepotFileFlag c : EDepotFileFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDepotFileFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
code
public int code()
-
from
public static java.util.EnumSet<EDepotFileFlag> from(int code)
-
code
public static int code(java.util.EnumSet<EDepotFileFlag> flags)
-
-