public static enum ResourceConfiguration.Paths extends Enum<ResourceConfiguration.Paths> implements IConfigurationPath
Session
. Each resource has the same folder.layout.Enum Constant and Description |
---|
ConfigBinary
File to store the resource settings.
|
Data
Folder for storage of data.
|
TransactionLog
Folder for transaction log.
|
Modifier and Type | Method and Description |
---|---|
File |
getFile()
Getting the file for the kind.
|
boolean |
isFolder()
Check if file is denoted as folder or not.
|
static ResourceConfiguration.Paths |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceConfiguration.Paths[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceConfiguration.Paths Data
public static final ResourceConfiguration.Paths TransactionLog
public static final ResourceConfiguration.Paths ConfigBinary
public static ResourceConfiguration.Paths[] values()
for (ResourceConfiguration.Paths c : ResourceConfiguration.Paths.values()) System.out.println(c);
public static ResourceConfiguration.Paths valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic File getFile()
getFile
in interface IConfigurationPath
public boolean isFolder()
isFolder
in interface IConfigurationPath
Copyright © 2013. All Rights Reserved.