public class DiskspaceDelegator extends BaseDelegator implements IDiskspaceDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
DiskspaceDelegator(IOptionsServer server)
Instantiate a new DiskspaceDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IDiskSpace> |
getDiskSpace(java.util.List<java.lang.String> filesystems)
Get a list of disk space information about the current availability of
disk space on the server.
|
public DiskspaceDelegator(IOptionsServer server)
server
- a concrete implementation of a Perforce Helix Serverpublic java.util.List<IDiskSpace> getDiskSpace(java.util.List<java.lang.String> filesystems) throws P4JavaException
IDiskspaceDelegator
If no arguments are specified, disk space information for all relevant file systems is displayed; otherwise the output is restricted to the named filesystem(s).
filesystems: P4ROOT | P4JOURNAL | P4LOG | TEMP | journalPrefix | depot See the main 'p4 diskspace' command documentation for full semantics and usage details.
getDiskSpace
in interface IDiskspaceDelegator
filesystems
- if not null, specify a list of Perforce named filesystem(s).P4JavaException
- if an error occurs processing this method and its parameters.