Class ClientProgressReport
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.func.client.ClientProgressReport
Report the progress of the command tick by tick.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanreport(IProgressCallback progressCallback, int cmdCallBackKey, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, Map<String, Object> resultsMap) Do a quick and dirty probabilistic progress report.
-
Field Details
-
TRACE_PREFIX
- See Also:
-
server
-
-
Constructor Details
-
ClientProgressReport
-
-
Method Details
-
report
public boolean report(IProgressCallback progressCallback, int cmdCallBackKey, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, Map<String, Object> resultsMap) Do a quick and dirty probabilistic progress report. Does not try to be too clever, but it does need to know something about the calling context to be able to send something useful back. If the tick() callback is called, this will return whatever the tick call returned, otherwise it returns true (which is usually interpreted to mean "keep going"...- Parameters:
progressCallback- progressCallbackcmdCallBackKey- cmdCallBackKeyfuncSpec- funcSpeccmdEnv- cmdEnvresultsMap- resultsMap- Returns:
- ok
-