public class VerifyDelegator extends BaseDelegator implements IVerifyDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
VerifyDelegator(IOptionsServer server)
Instantiate a new VerifyDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IExtendedFileSpec> |
verifyFiles(java.util.List<IFileSpec> fileSpecs,
VerifyFilesOptions opts)
Verify that the server archives are intact.
|
public VerifyDelegator(IOptionsServer server)
server
- a concrete implementation of a Perforce Helix Serverpublic java.util.List<IExtendedFileSpec> verifyFiles(java.util.List<IFileSpec> fileSpecs, VerifyFilesOptions opts) throws P4JavaException
IVerifyDelegator
This method require that the user be an operator or have 'admin' access, which is granted by 'p4 protect'.
verifyFiles
in interface IVerifyDelegator
fileSpecs
- filespecs to be processed; if null or empty, an empty list is returned.opts
- VerifyFilesOptions object describing optional parameters; if null, no options
are set.P4JavaException
- if an error occurs processing this method and its parameters.