conversation listlengths 2 2 |
|---|
[
{
"content": "Copy a list of libraries to a specific folder.\n\n@param desiredArtifacts A list of artifacts\n@param destination A destination folder to copy these artifacts to\n@param downloadDependencies Do we download dependencies\n@throws MojoExecutionException MojoExecutionException",
"role... |
[
{
"content": "Find a specific artifact in a remote repository\n\n@param desiredArtifact The artifact that we want to find\n@return Will return an ArtifactResult object\n@throws MojoExecutionException MojoExecutionException",
"role": "user"
},
{
"content": "private Artifact getArtifactResult(Artifact... |
[
{
"content": "Copy an Artifact to a directory\n\n@param artifactToCopy Artifact that needs to be copied.\n@param destinationDirectory Directory to copy the artifact to\n@return true if artifact copied, false if artifact not copied\n@throws MojoExecutionException Unable to copy file or resolve dependency, ... |
[
{
"content": "Generate an arguments array representing the command line options you want to send to JMeter.\nThe order of the array is determined by the order the values in JMeterCommandLineArguments are defined.\n\n@return An array representing the command line sent to JMeter\n@throws MojoExecutionException Ex... |
[
{
"content": "Load the JMeter server\n\n@throws MojoExecutionException MojoExecutionException",
"role": "user"
},
{
"content": "@Override\n public void doExecute() throws MojoExecutionException {\n getLog().info(\" \");\n getLog().info(LINE_SEPARATOR);\n getLog().info(\" S T ... |
[
{
"content": "Run all the JMeter tests.\n\n@throws MojoExecutionException MojoExecutionException",
"role": "user"
},
{
"content": "@Override\n public void doExecute() throws MojoExecutionException {\n getLog().info(\" \");\n getLog().info(LINE_SEPARATOR);\n getLog().info(\" P... |
[
{
"content": "Generate the initial JMeter Arguments array that is used to create the command line that we pass to JMeter.\n\n@throws MojoExecutionException",
"role": "user"
},
{
"content": "protected JMeterArgumentsArray computeJMeterArgumentsArray(boolean disableGUI, boolean isCSVFormat) throws Moj... |
[
{
"content": "Try to load the active maven proxy.",
"role": "user"
},
{
"content": "protected void loadMavenProxy() {\n if (null == settings) {\n return;\n }\n\n Proxy mvnProxy = settings.getActiveProxy();\n if (mvnProxy != null) {\n ProxyConfigurati... |
[
{
"content": "Build a human readable command line from the arguments set by the plugin\n\n@param arguments Array of String\n@return String",
"role": "user"
},
{
"content": "public static String humanReadableCommandLineOutput(List<String> arguments) {\n //TODO investigate removing this, only u... |
[
{
"content": "Utility function to check if a String is defined and not empty\n\n@param value String\n@return boolean",
"role": "user"
},
{
"content": "public static Boolean isNotSet(String value) {\n return null == value || value.isEmpty() || value.trim().length() == 0;\n }",
"role": "... |
[
{
"content": "Utility function to check if File is defined and not empty\n\n@param value File\n@return boolean",
"role": "user"
},
{
"content": "public static Boolean isNotSet(File value) {\n return null == value || value.toString().isEmpty() || value.toString().trim().length() == 0;\n }",... |
[
{
"content": "Load the JMeter GUI\n\n@throws MojoExecutionException MojoExecutionException",
"role": "user"
},
{
"content": "@Override\n public void doExecute() throws MojoExecutionException {\n getLog().info(\" \");\n getLog().info(LINE_SEPARATOR);\n getLog().info(\" S T A R... |
[
{
"content": "Take a properties file and load it into a Properties Object\n\n@param propertiesFile The file to try and load\n@return A properties object\n@throws MojoExecutionException MojoExecutionException",
"role": "user"
},
{
"content": "private Properties loadPropertiesFile(File propertiesFile)... |
[
{
"content": "Check if a file exists. If it does calculate if we need to merge it with existing properties, or replace all existing properties.\n\n@param providedPropertiesFile A properties file that will be check to see if it exists\n@param replaceAllProperties If we should replace all properties, or just m... |
[
{
"content": "Merge a Map of properties into our Properties object\nThe additions will overwrite any existing properties\n\n@param additionalProperties Map to merge into our Properties object",
"role": "user"
},
{
"content": "public void addAndOverwriteProperties(Map<String, String> additionalProper... |
[
{
"content": "Strip out any reserved properties and then write properties object to a file.\n\n@param outputFile The file that our properties object will be written to",
"role": "user"
},
{
"content": "public void writePropertiesToFile(File outputFile) throws MojoExecutionException {// NOSONAR\n ... |
[
{
"content": "Print a warning out to the user to highlight potential typos in the properties they have set.\n\n@param newKey Property Value\n@param baseProperties Properties",
"role": "user"
},
{
"content": "private void warnUserOfPossibleErrors(String newKey, Properties baseProperties) {\n ... |
[
{
"content": "Load a shared library, and optionally verify the jar signatures.\n\n@param name Name of the library to load.\n@param verify Verify the jar file if signed.\n\n@return true if the library was successfully loaded.",
"role": "user"
},
{
"content": "public boolean load(String name, ... |
[
{
"content": "Extract a jar entry to a temp file.\n\n@param name Name prefix for temp file.\n@param is Jar entry input stream.\n\n@return A temporary file.\n\n@throws IOException when an IO error occurs.",
"role": "user"
},
{
"content": "private static File extract(String name, InputStream is) t... |
[
{
"content": "Generate a list of candidate libraries for the supplied library name and suitable\nfor the current platform.\n\n@param platform Current platform.\n@param name Library name.\n\n@return List of potential library names.",
"role": "user"
},
{
"content": "private List<String> libCandi... |
[
{
"content": "Decode base64 chars to bytes using the supplied decode table and padding\ncharacter.\n\n@param src Base64 encoded data.\n@param table Decode table.\n@param pad Padding character.\n\n@return Decoded bytes.",
"role": "user"
},
{
"content": "public static byte[] decode(char[] src, int... |
[
{
"content": "Encode bytes to base64 chars using the supplied encode table and with\noptional padding.\n\n@param src Bytes to encode.\n@param table Encoding table.\n@param pad Padding character, or 0 for no padding.\n\n@return Encoded chars.",
"role": "user"
},
{
"content": "public static char[]... |
[
{
"content": "Load a shared library.\n\n@param name Name of the library to load.\n@param verify Ignored, no verification is done.\n\n@return true if the library was successfully loaded.",
"role": "user"
},
{
"content": "public boolean load(String name, boolean verify) {\n boolean load... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.