com.perforce.p4java.impl.generic.core.file
Class ObliterateResult

java.lang.Object
  extended by com.perforce.p4java.impl.generic.core.file.ObliterateResult
All Implemented Interfaces:
IObliterateResult

public class ObliterateResult
extends 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
ObliterateResult(List<IFileSpec> fileSpecs, int integrationRecAdded, int labelRecDeleted, int clientRecDeleted, int integrationRecDeleted, int workingRecDeleted, int revisionRecDeleted, boolean reportOnly)
          Explicit parameterized constructor
 
Method Summary
 int getClientRecDeleted()
          Get the number of client records deleted
 List<IFileSpec> getFileSpecs()
          Get the list of filespecs purged
 int getIntegrationRecAdded()
          Get the number of integration records added
 int getIntegrationRecDeleted()
          Get the number of integration records deleted
 int getLabelRecDeleted()
          Get the number of integration records deleted
 int getRevisionRecDeleted()
          Get the number of revision records deleted
 int getWorkingRecDeleted()
          Get the number of working records deleted
 boolean isReportOnly()
          Is report only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObliterateResult

public ObliterateResult(List<IFileSpec> fileSpecs,
                        int integrationRecAdded,
                        int labelRecDeleted,
                        int clientRecDeleted,
                        int integrationRecDeleted,
                        int workingRecDeleted,
                        int revisionRecDeleted,
                        boolean reportOnly)
Explicit parameterized constructor

Method Detail

getFileSpecs

public List<IFileSpec> getFileSpecs()
Description copied from interface: IObliterateResult
Get the list of filespecs purged

Specified by:
getFileSpecs in interface IObliterateResult
See Also:
IObliterateResult.getFileSpecs()

getIntegrationRecAdded

public int getIntegrationRecAdded()
Description copied from interface: IObliterateResult
Get the number of integration records added

Specified by:
getIntegrationRecAdded in interface IObliterateResult
See Also:
IObliterateResult.getIntegrationRecAdded()

getLabelRecDeleted

public int getLabelRecDeleted()
Description copied from interface: IObliterateResult
Get the number of integration records deleted

Specified by:
getLabelRecDeleted in interface IObliterateResult
See Also:
IObliterateResult.getLabelRecDeleted()

getClientRecDeleted

public int getClientRecDeleted()
Description copied from interface: IObliterateResult
Get the number of client records deleted

Specified by:
getClientRecDeleted in interface IObliterateResult
See Also:
IObliterateResult.getClientRecDeleted()

getIntegrationRecDeleted

public int getIntegrationRecDeleted()
Description copied from interface: IObliterateResult
Get the number of integration records deleted

Specified by:
getIntegrationRecDeleted in interface IObliterateResult
See Also:
IObliterateResult.getIntegrationRecDeleted()

getWorkingRecDeleted

public int getWorkingRecDeleted()
Description copied from interface: IObliterateResult
Get the number of working records deleted

Specified by:
getWorkingRecDeleted in interface IObliterateResult
See Also:
IObliterateResult.getWorkingRecDeleted()

getRevisionRecDeleted

public int getRevisionRecDeleted()
Description copied from interface: IObliterateResult
Get the number of revision records deleted

Specified by:
getRevisionRecDeleted in interface IObliterateResult
See Also:
IObliterateResult.getRevisionRecDeleted()

isReportOnly

public boolean isReportOnly()
Description copied from interface: IObliterateResult
Is report only

Specified by:
isReportOnly in interface IObliterateResult
See Also:
IObliterateResult.isReportOnly()


Copyright © 2015 Perforce Software. All Rights Reserved.