com.perforce.p4java.core.file
Class FileStatAncilliaryOptions

java.lang.Object
  extended by com.perforce.p4java.core.file.FileStatAncilliaryOptions

public class FileStatAncilliaryOptions
extends Object

A simple way to encapsulate the complex ancilliary output options available for the IServer getExtendedFiles method.

NOTE: no guidance is given here on how to use this class; please refer to the main Perforce fstat documentation for details of each option.


Constructor Summary
FileStatAncilliaryOptions()
           
FileStatAncilliaryOptions(boolean allRevs, boolean fileSizeDigest, boolean bothPathTypes, boolean pendingIntegrationRecs, boolean excludeLocalPath)
           
 
Method Summary
 boolean isAllRevs()
           
 boolean isBothPathTypes()
           
 boolean isExcludeLocalPath()
           
 boolean isFileSizeDigest()
           
 boolean isPendingIntegrationRecs()
           
 boolean isShowAttributes()
           
 boolean isShowHexAttributes()
           
 void setAllRevs(boolean allRevs)
           
 void setBothPathTypes(boolean bothPathTypes)
           
 void setExcludeLocalPath(boolean excludeLocalPath)
           
 void setFileSizeDigest(boolean fileSizeDigest)
           
 void setPendingIntegrationRecs(boolean pendingIntegrationRecs)
           
 void setShowAttributes(boolean showAttributes)
           
 void setShowHexAttributes(boolean showHexAttributes)
           
 List<String> toStrings()
          Return a list of strings, one element for each enabled option.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileStatAncilliaryOptions

public FileStatAncilliaryOptions()

FileStatAncilliaryOptions

public FileStatAncilliaryOptions(boolean allRevs,
                                 boolean fileSizeDigest,
                                 boolean bothPathTypes,
                                 boolean pendingIntegrationRecs,
                                 boolean excludeLocalPath)
Method Detail

toStrings

public List<String> toStrings()
Return a list of strings, one element for each enabled option.

Returns:
non-null but possibly-empty list of strings.

isAllRevs

public boolean isAllRevs()

setAllRevs

public void setAllRevs(boolean allRevs)

isFileSizeDigest

public boolean isFileSizeDigest()

setFileSizeDigest

public void setFileSizeDigest(boolean fileSizeDigest)

isBothPathTypes

public boolean isBothPathTypes()

setBothPathTypes

public void setBothPathTypes(boolean bothPathTypes)

isPendingIntegrationRecs

public boolean isPendingIntegrationRecs()

setPendingIntegrationRecs

public void setPendingIntegrationRecs(boolean pendingIntegrationRecs)

isExcludeLocalPath

public boolean isExcludeLocalPath()

setExcludeLocalPath

public void setExcludeLocalPath(boolean excludeLocalPath)

isShowAttributes

public boolean isShowAttributes()
Since:
2011.1

setShowAttributes

public void setShowAttributes(boolean showAttributes)
Since:
2011.1

isShowHexAttributes

public boolean isShowHexAttributes()
Since:
2011.1

setShowHexAttributes

public void setShowHexAttributes(boolean showHexAttributes)
Since:
2011.1


Copyright © 2015 Perforce Software. All Rights Reserved.