|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.starteam.command.StarteamCommandLineUtils
public final class StarteamCommandLineUtils
Command line construction utility.
Method Summary | |
---|---|
static void |
addCompressionOption(org.codehaus.plexus.util.cli.Commandline cl)
|
static void |
addEOLOption(List<String> args)
|
static org.codehaus.plexus.util.cli.Commandline |
createStarteamBaseCommandLine(String action,
StarteamScmProviderRepository repo)
|
static org.codehaus.plexus.util.cli.Commandline |
createStarteamCommandLine(String action,
List<String> args,
ScmFileSet scmFileSet,
StarteamScmProviderRepository repo)
|
static String |
displayCommandlineWithoutPassword(org.codehaus.plexus.util.cli.Commandline cl)
Hellper method to display command line without password |
static int |
executeCommandline(org.codehaus.plexus.util.cli.Commandline cl,
org.codehaus.plexus.util.cli.StreamConsumer consumer,
org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr,
ScmLogger logger)
|
static String |
getRelativeChildDirectory(String parent,
String child)
Given 2 paths, make sure parent and child are on the same tree return the port of child that not in parent |
static String |
toJavaPath(String path)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.codehaus.plexus.util.cli.Commandline createStarteamBaseCommandLine(String action, StarteamScmProviderRepository repo)
public static org.codehaus.plexus.util.cli.Commandline createStarteamCommandLine(String action, List<String> args, ScmFileSet scmFileSet, StarteamScmProviderRepository repo)
public static void addCompressionOption(org.codehaus.plexus.util.cli.Commandline cl)
public static void addEOLOption(List<String> args)
public static String toJavaPath(String path)
public static String displayCommandlineWithoutPassword(org.codehaus.plexus.util.cli.Commandline cl) throws ScmException
cl
-
ScmException
public static int executeCommandline(org.codehaus.plexus.util.cli.Commandline cl, org.codehaus.plexus.util.cli.StreamConsumer consumer, org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer stderr, ScmLogger logger) throws ScmException
ScmException
public static String getRelativeChildDirectory(String parent, String child)
parent
- child
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |