public abstract class AbstractInspectionCmdlineOptions extends java.lang.Object implements InspectionToolCmdlineOptions
InspectionToolCmdlineOptions.CmdlineArgsValidationException
Constructor and Description |
---|
AbstractInspectionCmdlineOptions() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
determineDirectoryToInspect(java.lang.String projectPath) |
protected java.lang.String |
determineOutputPath() |
protected java.lang.String |
determineProjectPath() |
protected java.lang.String |
getDefaultOutputPath() |
protected java.lang.String |
getDefaultProjectPath() |
protected abstract java.lang.String |
getDirToInspectProperty() |
protected abstract java.lang.Boolean |
getErrorCodeRequiredProperty() |
protected abstract java.lang.String |
getOutputFormatProperty() |
protected abstract java.lang.String |
getOutputPathProperty() |
protected abstract java.lang.String |
getProfileNameOrPathProperty() |
protected abstract java.lang.String |
getProjectPathProperty() |
protected abstract java.lang.Boolean |
getRunWithEditorSettingsProperty() |
protected abstract java.lang.String |
getXSLTSchemePathProperty() |
void |
initApplication(InspectionApplication app) |
protected abstract java.lang.String [] |
optionsBanner() |
void |
printHelpAndExit() |
void |
validate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beforeStartup, getVerboseLevelProperty, suppressHelp
protected abstract java.lang.String getProfileNameOrPathProperty()
protected abstract java.lang.String getProjectPathProperty()
protected abstract java.lang.String getOutputPathProperty()
protected abstract java.lang.String getDirToInspectProperty()
protected abstract java.lang.String getOutputFormatProperty()
protected abstract java.lang.String getXSLTSchemePathProperty()
protected abstract java.lang.Boolean getErrorCodeRequiredProperty()
protected abstract java.lang.Boolean getRunWithEditorSettingsProperty()
protected abstract java.lang.String [] optionsBanner()
public void initApplication(InspectionApplication app)
initApplication
in interface InspectionToolCmdlineOptions
app
- Inspection Applicationpublic void validate() throws InspectionToolCmdlineOptions.CmdlineArgsValidationException
validate
in interface InspectionToolCmdlineOptions
InspectionToolCmdlineOptions.CmdlineArgsValidationException
protected java.lang.String determineOutputPath()
public void printHelpAndExit()
printHelpAndExit
in interface InspectionToolCmdlineOptionHelpProvider
protected java.lang.String determineProjectPath()
protected java.lang.String determineDirectoryToInspect(java.lang.String projectPath)
protected java.lang.String getDefaultOutputPath()
protected java.lang.String getDefaultProjectPath()