hudson.plugins.synergy.impl
Class FindUseCommand

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

public class FindUseCommand
extends Command

Builds the path of a file in project command.


Constructor Summary
FindUseCommand(java.lang.String object, java.util.Set<java.lang.String> projects, java.lang.String delimiter)
           
 
Method Summary
 java.lang.String[] buildCommand(java.lang.String ccmExe)
          Return the Synergy command line to execute as an array.
 java.lang.String getPath()
          Returns the path of the object in the project.
 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

FindUseCommand

public FindUseCommand(java.lang.String object,
                      java.util.Set<java.lang.String> projects,
                      java.lang.String delimiter)
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

getPath

public java.lang.String getPath()
Returns the path of the object in the project. The path begins with the project name and ends with the object name.



Copyright © 2008-2009. All Rights Reserved.