Class ObliterateResult
java.lang.Object
com.perforce.p4java.impl.generic.core.file.ObliterateResult
- All Implemented Interfaces:
IObliterateResult
The various record stats returned by the obliterateFiles method. Obliterate
removes files and their history from the depot. The Perforce server returns
information about how many various types of records were deleted (or added).
-
Constructor Summary
ConstructorsConstructorDescriptionObliterateResult(List<IFileSpec> fileSpecs, int integrationRecAdded, int labelRecDeleted, int clientRecDeleted, int integrationRecDeleted, int workingRecDeleted, int revisionRecDeleted, boolean reportOnly) Explicit parameterized constructor -
Method Summary
Modifier and TypeMethodDescriptionintintintintintintboolean
-
Constructor Details
-
ObliterateResult
public ObliterateResult(List<IFileSpec> fileSpecs, int integrationRecAdded, int labelRecDeleted, int clientRecDeleted, int integrationRecDeleted, int workingRecDeleted, int revisionRecDeleted, boolean reportOnly) Explicit parameterized constructor- Parameters:
fileSpecs- fileSpecsintegrationRecAdded- integrationRecAddedlabelRecDeleted- labelRecDeletedclientRecDeleted- clientRecDeletedintegrationRecDeleted- integrationRecDeletedworkingRecDeleted- workingRecDeletedrevisionRecDeleted- revisionRecDeletedreportOnly- reportOnly
-
-
Method Details
-
getFileSpecs
- Specified by:
getFileSpecsin interfaceIObliterateResult- Returns:
- the list of filespecs purged
- See Also:
-
getIntegrationRecAdded
public int getIntegrationRecAdded()- Specified by:
getIntegrationRecAddedin interfaceIObliterateResult- Returns:
- the number of integration records added
- See Also:
-
getLabelRecDeleted
public int getLabelRecDeleted()- Specified by:
getLabelRecDeletedin interfaceIObliterateResult- Returns:
- the number of integration records deleted
- See Also:
-
getClientRecDeleted
public int getClientRecDeleted()- Specified by:
getClientRecDeletedin interfaceIObliterateResult- Returns:
- the number of client records deleted
- See Also:
-
getIntegrationRecDeleted
public int getIntegrationRecDeleted()- Specified by:
getIntegrationRecDeletedin interfaceIObliterateResult- Returns:
- the number of integration records deleted
- See Also:
-
getWorkingRecDeleted
public int getWorkingRecDeleted()- Specified by:
getWorkingRecDeletedin interfaceIObliterateResult- Returns:
- the number of working records deleted
- See Also:
-
getRevisionRecDeleted
public int getRevisionRecDeleted()- Specified by:
getRevisionRecDeletedin interfaceIObliterateResult- Returns:
- the number of revision records deleted
- See Also:
-
isReportOnly
public boolean isReportOnly()- Specified by:
isReportOnlyin interfaceIObliterateResult- Returns:
- true, if report only
- See Also:
-