hudson.plugins.synergy.impl
Class UpdateCommand
java.lang.Object
hudson.plugins.synergy.impl.Command
hudson.plugins.synergy.impl.UpdateCommand
public class UpdateCommand
- extends Command
Builds an update workarea command.
- Author:
- jrbe
|
Constructor Summary |
UpdateCommand(java.lang.String project,
boolean replaceSubprojects)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateCommand
public UpdateCommand(java.lang.String project,
boolean replaceSubprojects)
parseResult
public void parseResult(java.lang.String result)
- Description copied from class:
Command
- Parse the command result.
- Specified by:
parseResult in class Command
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
getUpdates
public java.util.List<java.lang.String> getUpdates()
isStatusOK
public boolean isStatusOK(int status)
- Description copied from class:
Command
- Return true if the given return status is ok for the command.
The default is to return true if the status is 0 or 1.
- Overrides:
isStatusOK in class Command
getConflicts
public java.util.Collection<Conflict> getConflicts()
isUpdateWarningsExists
public boolean isUpdateWarningsExists()
Copyright © 2008-2009. All Rights Reserved.