public class ClientHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String[] |
buildParallelOptions(IServer serverImpl,
List<IFileSpec> fileSpecs,
SyncOptions syncOpts,
ParallelSyncOptions pSyncOpts)
Helper method that build the parallel sync options
|
static long |
sendBackWrittenDataBytes(CommandEnv cmdEnv,
String filePath,
long fileSize,
long currentSize,
long bytesRead)
Send back the data bytes written (accumulated)
This is for the progress indicator
|
public static long sendBackWrittenDataBytes(CommandEnv cmdEnv, String filePath, long fileSize, long currentSize, long bytesRead)
public static String[] buildParallelOptions(IServer serverImpl, List<IFileSpec> fileSpecs, SyncOptions syncOpts, ParallelSyncOptions pSyncOpts) throws P4JavaException
pSyncOpts - P4JavaExceptionCopyright © 2017 Perforce Software. All Rights Reserved.