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 |
|---|---|
List<IDiskSpace> |
getDiskSpace(List<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 List<IDiskSpace> getDiskSpace(List<String> filesystems) throws P4JavaException
IDiskspaceDelegatorIf 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 IDiskspaceDelegatorfilesystems - if not null, specify a list of Perforce named filesystem(s).P4JavaException - if an error occurs processing this method and its parameters.Copyright © 2017 Perforce Software. All Rights Reserved.