|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.option.Options
com.perforce.p4java.option.server.VerifyFilesOptions
public class VerifyFilesOptions
Options class for IOptionsServer.verifyFiles method.
IOptionsServer.verifyFiles(java.util.List, com.perforce.p4java.option.server.VerifyFilesOptions)
Field Summary | |
---|---|
protected long |
batchSize
If greater than zero, specifies the batch size. |
protected boolean |
computeDigest
If true, computes and saves the digest for each revision, regardless of whether the revision already has a saved digest. |
protected boolean |
computeMissingDigest
If true, computes and saves the digest only for revisions that have no saved digest. |
protected int |
maxRevisions
If positive, specifies the maximum number of revisions to process. |
static String |
OPTIONS_SPECS
Options: [-t | -u | -v | -z] [-m max -q -s -X -b N] file[revRange] ... |
protected boolean |
quiet
If true, minimizes command output, displaying only errors from mismatched digests or unreproducible revisions. |
protected boolean |
skipComputedDigest
If true, optimizes digest computations by skipping revisions that have already been computed in the current pass. |
protected boolean |
skipPlusXModifier
If true, specifies that files with the +X filetype modifier should be skipped. |
protected boolean |
transferContent
If true, causes 'p4 verify' to schedule transfer of the content of any damaged revision. |
protected boolean |
verifySize
If true, specifies that the file size should also be verified. |
protected boolean |
verifyUnload
If true, verifies files in the unload depot (see 'p4 help unload'). |
Fields inherited from class com.perforce.p4java.option.Options |
---|
immutable, optionList, OPTPFX |
Constructor Summary | |
---|---|
VerifyFilesOptions()
Default constructor. |
|
VerifyFilesOptions(String... options)
Strings-based constructor; see 'p4 help [command]' for possible options. |
Methods inherited from class com.perforce.p4java.option.Options |
---|
applyRule, applyRule, applyRule, applyRule, getOptions, isImmutable, processFields, setImmutable, setOptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OPTIONS_SPECS
Options: [-t | -u | -v | -z] [-m max -q -s -X -b N] file[revRange] ... -U unloadfiles...
protected boolean transferContent
protected boolean computeMissingDigest
protected boolean computeDigest
protected boolean skipComputedDigest
protected int maxRevisions
protected boolean quiet
protected boolean verifySize
protected boolean skipPlusXModifier
protected long batchSize
protected boolean verifyUnload
Constructor Detail |
---|
public VerifyFilesOptions()
public VerifyFilesOptions(String... options)
WARNING: you should not pass more than one option or argument in each string parameter. Each option or argument should be passed-in as its own separate string parameter, without any spaces between the option and the option value (if any).
NOTE: setting options this way always bypasses the internal options values, and getter methods against the individual values corresponding to the strings passed in to this constructor will not normally reflect the string's setting. Do not use this constructor unless you know what you're doing and / or you do not also use the field getters and setters.
Options.Options(java.lang.String...)
Method Detail |
---|
public List<String> processOptions(IServer server) throws OptionsException
Options
The method is used by the server object to generate the string-based arguments expected by the Perforce server corresponding to the state of this method-specific options object. Will return an empty list if there are no "interesting" options set or available. May simply return the superclass options string list if is non-null, but that behaviour is neither guaranteed nor required.
Note that this method is not intended to be called directly by users but by the underlying P4Java plumbing; odd results may occur if this method is called in other contexts.
processOptions
in class Options
server
- possibly-null IServer representing the Perforce server
the options are to be used against. If this parameter is
null, it is acceptable to throw an OptionsException, but
it is also possible to ignore it and do the best you can
with what you've got...
OptionsException
- if an error occurs in options processing that is
not some species of ConnectionException, RequestException,
AccessException, etc.Options.processOptions(com.perforce.p4java.server.IServer)
public boolean isTransferContent()
public VerifyFilesOptions setTransferContent(boolean transferContent)
public boolean isComputeMissingDigest()
public VerifyFilesOptions setComputeMissingDigest(boolean computeMissingDigest)
public boolean isComputeDigest()
public VerifyFilesOptions setComputeDigest(boolean computeDigest)
public boolean isSkipComputedDigest()
public VerifyFilesOptions setSkipComputedDigest(boolean skipComputedDigest)
public int getMaxRevisions()
public VerifyFilesOptions setMaxRevisions(int maxRevisions)
public boolean isQuiet()
public VerifyFilesOptions setQuiet(boolean quiet)
public boolean isVerifySize()
public VerifyFilesOptions setVerifySize(boolean verifySize)
public boolean isSkipPlusXModifier()
public VerifyFilesOptions setSkipPlusXModifier(boolean skipPlusXModifier)
public long getBatchSize()
public VerifyFilesOptions setBatchSize(long batchSize)
public boolean isVerifyUnload()
public VerifyFilesOptions setVerifyUnload(boolean verifyUnload)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |