hudson.plugins.synergy.impl
Class CompareProjectCommand

java.lang.Object
  extended by hudson.plugins.synergy.impl.Command
      extended by hudson.plugins.synergy.impl.CompareProjectCommand

public class CompareProjectCommand
extends Command

Builds a compare project command.


Constructor Summary
CompareProjectCommand(java.lang.String newProject, java.lang.String oldProject)
           
 
Method Summary
 java.lang.String[] buildCommand(java.lang.String ccmExe)
          Return the Synergy command line to execute as an array.
 java.util.List<java.lang.String> getDifferences()
          Returns the objectname of the objects that are members of the newProject but not of the oldProject.
 void parseResult(java.lang.String result)
          Parse the command result.
 
Methods inherited from class hudson.plugins.synergy.impl.Command
buildMask, isStatusOK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareProjectCommand

public CompareProjectCommand(java.lang.String newProject,
                             java.lang.String oldProject)
Method Detail

buildCommand

public java.lang.String[] buildCommand(java.lang.String ccmExe)
Description copied from class: Command
Return the Synergy command line to execute as an array. The line must start with the ccmExe location, which is given as the first method parameter.

Specified by:
buildCommand in class Command

parseResult

public void parseResult(java.lang.String result)
Description copied from class: Command
Parse the command result.

Specified by:
parseResult in class Command

getDifferences

public java.util.List<java.lang.String> getDifferences()
Returns the objectname of the objects that are members of the newProject but not of the oldProject.



Copyright © 2008-2009. All Rights Reserved.