public class FindUseCommand extends Command
Modifier and Type | Field and Description |
---|---|
protected String |
delimiter
The Synergy version delimiter.
|
protected String |
path |
protected Set<String> |
projects
The Synergy projects we are interesting in knowing the use they makes of the object.
|
Constructor and Description |
---|
FindUseCommand(String object,
Set<String> projects,
String delimiter,
boolean project)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
String[] |
buildCommand(String ccmExe)
Return the Synergy command line to execute as an array.
|
String |
getPath()
Returns the path of the object in the project.
|
void |
parseResult(String result)
Parse the command result.
|
buildMask, isStatusOK
protected Set<String> projects
protected String delimiter
protected String path
public FindUseCommand(String object, Set<String> projects, String delimiter, boolean project)
object
- The object we want to find the use in other projectsprojects
- The projects we want to kown if and where they contains the objectdelimiter
- The version delimiterproject
- Is the object we want to find the use is a projectpublic String[] buildCommand(String ccmExe)
Command
buildCommand
in class Command
public void parseResult(String result)
Command
parseResult
in class Command
public String getPath()
Copyright © 2008-2013. All Rights Reserved.