The subspace configuration checks and accesses a ConfigHolder for a subspace, which has to consist (at least) of the following fields:
path - the path of the subspace as text
gsiFtpPath - the path for gsiFtp access as text
visible - whether the subspaces meta subspace is visible as boolean
size - the maximal size of the subspace as number
mode - an entry in SetupMode.
More...
Inherits de::zib::gndms::common::logic::config::Configuration.
Public Member Functions |
| SubspaceConfiguration (final String path, final String gsiFtpPath, final boolean visible, final long size, final SetupMode mode, final String subspace) |
| Constructs a SubspaceConfiguration.
|
| SubspaceConfiguration (final String path, final String gsiFtpPath, final boolean visible, final long size, final String mode, final String subspace) |
| Constructs a SubspaceConfiguration.
|
final boolean | isValid () |
final String | getStringRepresentation () |
final String | getPath () |
| Returns the path of a subspace configuration.
|
final void | setPath (final String path) |
| Sets the path of a subspace configuration.
|
final String | getGsiFtpPath () |
| Returns the gsi ftp path of a subspace configuration.
|
final void | setGsiFtpPath (final String gsiFtpPath) |
| Sets the gsi ftp path of a subspace configuration.
|
final boolean | isVisible () |
| Returns the visibility of a subspace configuration.
|
final void | setVisible (final boolean visible) |
| Sets the visibility of a subspace configuration.
|
final long | getSize () |
| Returns the size of a subspace configuration.
|
final void | setSize (final long size) |
| Sets the size of a subspace configuration.
|
final SetupMode | getMode () |
| Returns the mode of a subspace configuration.
|
final void | setMode (final SetupMode mode) |
| Sets the mode of a subspace configuration.
|
final void | setMode (final String mode) |
| Sets the mode of a subspace configuration as String.
|
final String | toString () |
final boolean | equals (final Object obj) |
final int | hashCode () |
void | setSubspace (String subspace) |
String | getSubspace () |
Static Public Member Functions |
static SubspaceConfiguration | checkSubspaceConfig (final Configuration config) |
| Converts a Configuration into a SubspaceConfiguration, if possible, and returns it, if valid.
|
static SubspaceConfiguration | getSubspaceConfiguration (Subspace subspace) |
| Constructs the subspace configuration of a subspace.
|
Static Public Attributes |
static final String | PATH = "path" |
| The key for the subspace's path.
|
static final String | GSIFTPPATH = "gsiFtpPath" |
| The key for the subspace's gsiftp-path.
|
static final String | VISIBLE = "visible" |
| The key for the subspace's visibility.
|
static final String | SIZE = "size" |
| The key for the subspace's total size.
|
static final String | MODE = "mode" |
| The key for the configuration's mode.
|
Private Attributes |
String | path |
| The path of the subspace.
|
String | gsiFtpPath |
| The gsi ftp path of the subspace.
|
boolean | visible |
| The visibility of the subspace.
|
long | size |
| The size of the subspace.
|
SetupMode | mode |
| The setup mode of the subspace.
|
String | subspace |
The subspace configuration checks and accesses a ConfigHolder for a subspace, which has to consist (at least) of the following fields:
path - the path of the subspace as text
gsiFtpPath - the path for gsiFtp access as text
visible - whether the subspaces meta subspace is visible as boolean
size - the maximal size of the subspace as number
mode - an entry in SetupMode.
- Author:
- Ulrike Golas