com.ptc.windchill.upgrade.dust
Class BlobCheckOpts
java.lang.Object
com.ptc.windchill.upgrade.dust.BlobCheckOpts
- Direct Known Subclasses:
- ExportBlobCheckOpts, ReadBlobCheckOpts, StartBlobCheckOpts
- public abstract class BlobCheckOpts
- extends Object
Abstract class BlobCheckOpts is the base for StartBlobCheckOpts, ExportBlobCheckOpts, and ReadBlobCheckOpts. Each of
these classes is responsible for parsing and validating command line args using gnu-getopt.
This class defines the options that are valid for all, then each extending class chooses a subset of options that
are valid for its purposes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEVELOPER_MODE
private static boolean DEVELOPER_MODE
RESOURCE
private static final String RESOURCE
DEFAULT_FILE_NAME
private String DEFAULT_FILE_NAME
exportBlobs
boolean exportBlobs
readBlobs
boolean readBlobs
showVersion
boolean showVersion
quickie
boolean quickie
releaseLevel
String releaseLevel
directory
String directory
fileName
String fileName
rootClass
String rootClass
windchillHome
String windchillHome
pageSize
int pageSize
maxObjects
int maxObjects
debugMode
boolean debugMode
initSuccess
boolean initSuccess
getopt
gnu.getopt.Getopt getopt
BlobCheckOpts
public BlobCheckOpts()
init
protected void init(String[] argv)
parseOptions
protected void parseOptions(String[] argv)
showVersion
protected void showVersion()
showHelp
protected void showHelp()
validate
protected boolean validate()
getDirectoryName
public String getDirectoryName()
getFileName
public String getFileName()
getClassName
public String getClassName()
getWindchillHome
public String getWindchillHome()
getPageSize
public int getPageSize()
getMaxObjects
public int getMaxObjects()
getReleaseLevel
public String getReleaseLevel()
getDebugMode
public boolean getDebugMode()
getExportBlobs
public boolean getExportBlobs()
setExportBlobs
public void setExportBlobs(boolean value)
getReadBlobs
public boolean getReadBlobs()
getShowVersion
public boolean getShowVersion()
setShowVersion
public void setShowVersion(boolean value)
getInitSuccess
public boolean getInitSuccess()
getQuickOption
public boolean getQuickOption()
setInitSuccess
public void setInitSuccess(boolean init_success)
getGetopt
public gnu.getopt.Getopt getGetopt()
printDebugMessage
public void printDebugMessage(String msg)
printWarning
public void printWarning(String key,
Object[] args)
getMethodName
protected abstract String getMethodName()
getOptions
protected abstract String getOptions()
initLongOpts
protected abstract gnu.getopt.LongOpt[] initLongOpts()