public class PRQACommandBuilder extends Object implements Serializable
Constructor and Description |
---|
PRQACommandBuilder(String executable) |
Modifier and Type | Method and Description |
---|---|
PRQACommandBuilder |
appendArgument(String argument) |
static String |
escapeWhitespace(String string) |
static String |
getCmaf(String path,
boolean escapeInputParameterWhiteSpace) |
static String |
getCodeAll(CodeUploadSetting setting) |
String |
getCommand() |
static String |
getCrossModuleAnalysisParameter(boolean enabled) |
static String |
getDataFlowAnanlysisParameter(boolean enabled) |
static String |
getDependencyModeParameter(boolean enabled) |
static String |
getHost(String hostname) |
static String |
getImportLogFilePathParameter(String fullLogFilePath) |
static String |
getLogFilePathParameter(String fullLogFilePath) |
static String |
getMaseq(String commandSequence,
boolean escapeInputParameterWhiteSpace) |
static String |
getMessageConfigurationParameter(String projConfigXml) |
static String |
getNumberOfThreads(int number) |
static String |
getOutputPathParameter(String outpath,
boolean escapeInputParameterWhiteSpace) |
static String |
getPassword(String password) |
static String |
getPort(int port) |
static String |
getProd(boolean single) |
static String |
getProjectDatabase(String databaseName) |
static String |
getProjectName() |
static String |
getPrqaVcs(CodeUploadSetting setting,
String vcsXmlPath) |
static String |
getQavOutPathParameter(String outpath) |
static String |
getQavOutPathParameter(String outpath,
boolean escapeInputParameterWhiteSpace) |
static String |
getReportFormatParameter(String reportFormat,
boolean escapeinInputParameterWhiteSpace) |
static String |
getReportTypeParameter(String reportType,
boolean escapeInputParameterWhiteSpace) |
static String |
getRepositorySetting(String repositoyPath) |
static String |
getSfbaOption(boolean wasAnalyzedBeforeHand)
Method which creates the necessary sfba option.
|
static String |
getSingle(boolean useSingleSnapshotMode) |
static String |
getSop(String topLevelSourceDir) |
static String |
getUser(String user) |
static String |
getVcsXmlString(String vcsXmlPath) |
static String |
getViewingProgram(String program,
boolean escapeInputParameterWhiteSpace) |
static String |
resolveAbsOrRelativePath(File workspaceRoot,
String filePath)
Resolves the project file location.
|
static String |
wrapFile(File workspaceRoot,
String filePath) |
static String |
wrapInEscapedQuotationMarks(String text) |
static String |
wrapInQuotationMarks(String string) |
public PRQACommandBuilder(String executable)
public PRQACommandBuilder appendArgument(String argument)
public String getCommand()
public static String resolveAbsOrRelativePath(File workspaceRoot, String filePath) throws PrqaException
workspaceRoot
- workspace rootfilePath
- file pathPrqaException
- when thrownpublic static String wrapFile(File workspaceRoot, String filePath) throws PrqaException
PrqaException
public static String getMaseq(String commandSequence, boolean escapeInputParameterWhiteSpace)
public static String getReportFormatParameter(String reportFormat, boolean escapeinInputParameterWhiteSpace)
public static String getReportTypeParameter(String reportType, boolean escapeInputParameterWhiteSpace)
public static String getOutputPathParameter(String outpath, boolean escapeInputParameterWhiteSpace)
public static String getProjectName()
public static String getViewingProgram(String program, boolean escapeInputParameterWhiteSpace)
public static String getSingle(boolean useSingleSnapshotMode)
public static String getCodeAll(CodeUploadSetting setting)
public static String getQavOutPathParameter(String outpath, boolean escapeInputParameterWhiteSpace)
public static String getPrqaVcs(CodeUploadSetting setting, String vcsXmlPath)
public static String getMessageConfigurationParameter(String projConfigXml)
public static String getImportLogFilePathParameter(String fullLogFilePath)
public static String getSfbaOption(boolean wasAnalyzedBeforeHand)
wasAnalyzedBeforeHand
- project was analyzed beforehandpublic static String getNumberOfThreads(int number)
public static String getProd(boolean single)
public static String getPort(int port)
public static String getDataFlowAnanlysisParameter(boolean enabled)
public static String getDependencyModeParameter(boolean enabled)
public static String getCrossModuleAnalysisParameter(boolean enabled)
Copyright © 2016–2022. All rights reserved.