Class JazzScmCommand

java.lang.Object
org.apache.maven.scm.provider.jazz.command.JazzScmCommand

public class JazzScmCommand extends Object
The base class for the underlying jazz "scm.sh"/"scm.exe" command.

The SCM command is documented here:

V2.0.2: http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html V3.0: http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html V3.0.1: http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html

  • Field Details

    • fLogger

      private ScmLogger fLogger
    • fCommand

      private org.codehaus.plexus.util.cli.Commandline fCommand
  • Constructor Details

  • Method Details

    • addArgument

      public void addArgument(ScmFileSet fileSet)
    • addArgument

      public void addArgument(String arg)
    • execute

      public int execute(org.codehaus.plexus.util.cli.StreamConsumer out, ErrorConsumer err) throws ScmException
      Throws:
      ScmException
    • getCommandString

      public String getCommandString()
    • getCommandline

      public org.codehaus.plexus.util.cli.Commandline getCommandline()
    • logErrorMessage

      private void logErrorMessage(String message)
    • logInfoMessage

      private void logInfoMessage(String message)
    • logDebugMessage

      private void logDebugMessage(String message)
    • cryptPassword

      public static String cryptPassword(org.codehaus.plexus.util.cli.Commandline cl)
    • isCommandExitError

      public static boolean isCommandExitError(int status)
      Check if the exit status is meant to be an error: https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Fr_scm_cli_retcodes.html