Package com.perforce.sa
Class UtilityFunctions
java.lang.Object
com.perforce.sa.UtilityFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intexecuteCommand(Launcher launcher, TaskListener listener, FilePath buildDir, EnvVars envVars, ArgumentListBuilder cmds, boolean ignoreReturnCode) static BufferedReaderexecuteCommandParseOutput(Launcher launcher, FilePath buildDir, EnvVars envVars, ArgumentListBuilder cmds) static StringgetValidateProjectId(AnalysisBuilderConfig analysisConfig, Launcher launcher, FilePath buildDir, EnvVars envVars) static StringgetValidateProjectName(String validateProjectURL) static StringgetValidateServerURL(String validateProjectURL) static StringresolveEnvVarsInConfig(EnvVars env, String input) static String[]splitOnSpaceQuotes(String input)
-
Constructor Details
-
UtilityFunctions
public UtilityFunctions()
-
-
Method Details
-
executeCommand
public static int executeCommand(Launcher launcher, TaskListener listener, FilePath buildDir, EnvVars envVars, ArgumentListBuilder cmds, boolean ignoreReturnCode) throws AbortException - Throws:
AbortException
-
executeCommandParseOutput
public static BufferedReader executeCommandParseOutput(Launcher launcher, FilePath buildDir, EnvVars envVars, ArgumentListBuilder cmds) throws AbortException - Throws:
AbortException
-
getValidateProjectName
-
getValidateServerURL
-
resolveEnvVarsInConfig
-
splitOnSpaceQuotes
-
getValidateProjectId
public static String getValidateProjectId(AnalysisBuilderConfig analysisConfig, Launcher launcher, FilePath buildDir, EnvVars envVars) throws AbortException - Throws:
AbortException
-