Class ObliterateResult
- java.lang.Object
-
- com.perforce.p4java.impl.generic.core.file.ObliterateResult
-
- All Implemented Interfaces:
IObliterateResult
public class ObliterateResult extends java.lang.Object implements 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
Constructors Constructor Description ObliterateResult(java.util.List<IFileSpec> fileSpecs, int integrationRecAdded, int labelRecDeleted, int clientRecDeleted, int integrationRecDeleted, int workingRecDeleted, int revisionRecDeleted, boolean reportOnly)
Explicit parameterized constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClientRecDeleted()
java.util.List<IFileSpec>
getFileSpecs()
int
getIntegrationRecAdded()
int
getIntegrationRecDeleted()
int
getLabelRecDeleted()
int
getRevisionRecDeleted()
int
getWorkingRecDeleted()
boolean
isReportOnly()
-
-
-
Constructor Detail
-
ObliterateResult
public ObliterateResult(java.util.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 Detail
-
getFileSpecs
public java.util.List<IFileSpec> getFileSpecs()
- Specified by:
getFileSpecs
in interfaceIObliterateResult
- Returns:
- the list of filespecs purged
- See Also:
IObliterateResult.getFileSpecs()
-
getIntegrationRecAdded
public int getIntegrationRecAdded()
- Specified by:
getIntegrationRecAdded
in interfaceIObliterateResult
- Returns:
- the number of integration records added
- See Also:
IObliterateResult.getIntegrationRecAdded()
-
getLabelRecDeleted
public int getLabelRecDeleted()
- Specified by:
getLabelRecDeleted
in interfaceIObliterateResult
- Returns:
- the number of integration records deleted
- See Also:
IObliterateResult.getLabelRecDeleted()
-
getClientRecDeleted
public int getClientRecDeleted()
- Specified by:
getClientRecDeleted
in interfaceIObliterateResult
- Returns:
- the number of client records deleted
- See Also:
IObliterateResult.getClientRecDeleted()
-
getIntegrationRecDeleted
public int getIntegrationRecDeleted()
- Specified by:
getIntegrationRecDeleted
in interfaceIObliterateResult
- Returns:
- the number of integration records deleted
- See Also:
IObliterateResult.getIntegrationRecDeleted()
-
getWorkingRecDeleted
public int getWorkingRecDeleted()
- Specified by:
getWorkingRecDeleted
in interfaceIObliterateResult
- Returns:
- the number of working records deleted
- See Also:
IObliterateResult.getWorkingRecDeleted()
-
getRevisionRecDeleted
public int getRevisionRecDeleted()
- Specified by:
getRevisionRecDeleted
in interfaceIObliterateResult
- Returns:
- the number of revision records deleted
- See Also:
IObliterateResult.getRevisionRecDeleted()
-
isReportOnly
public boolean isReportOnly()
- Specified by:
isReportOnly
in interfaceIObliterateResult
- Returns:
- true, if report only
- See Also:
IObliterateResult.isReportOnly()
-
-