Class SvnCommandLineUtils
java.lang.Object
org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils
Command line construction utility.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate static intcheckIfCleanUpIsNeeded(int exitCode, org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.StreamConsumer consumer, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr) static StringcryptPassword(org.codehaus.plexus.util.cli.Commandline cl) static intexecute(org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stdout, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr) static intexecute(org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.StreamConsumer consumer, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr) static intexecuteCleanUp(File workinDirectory, org.codehaus.plexus.util.cli.StreamConsumer stdout, org.codehaus.plexus.util.cli.StreamConsumer stderr) static org.codehaus.plexus.util.cli.CommandlinegetBaseSvnCommandLine(File workingDirectory, SvnScmProviderRepository repository, boolean interactive)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
SvnCommandLineUtils
private SvnCommandLineUtils()
-
-
Method Details
-
addTarget
public static void addTarget(org.codehaus.plexus.util.cli.Commandline cl, List<File> files) throws IOException - Throws:
IOException
-
getBaseSvnCommandLine
public static org.codehaus.plexus.util.cli.Commandline getBaseSvnCommandLine(File workingDirectory, SvnScmProviderRepository repository, boolean interactive) -
execute
public static int execute(org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.StreamConsumer consumer, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr) throws org.codehaus.plexus.util.cli.CommandLineException - Throws:
org.codehaus.plexus.util.cli.CommandLineException
-
execute
public static int execute(org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stdout, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr) throws org.codehaus.plexus.util.cli.CommandLineException - Throws:
org.codehaus.plexus.util.cli.CommandLineException
-
checkIfCleanUpIsNeeded
private static int checkIfCleanUpIsNeeded(int exitCode, org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.StreamConsumer consumer, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr) throws org.codehaus.plexus.util.cli.CommandLineException - Throws:
org.codehaus.plexus.util.cli.CommandLineException
-
executeCleanUp
public static int executeCleanUp(File workinDirectory, org.codehaus.plexus.util.cli.StreamConsumer stdout, org.codehaus.plexus.util.cli.StreamConsumer stderr) throws org.codehaus.plexus.util.cli.CommandLineException - Throws:
org.codehaus.plexus.util.cli.CommandLineException
-
cryptPassword
-