|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.command.Command
com.atlassian.bamboo.repository.perforce.AbstractPerforceCommand
com.atlassian.bamboo.repository.perforce.PerforceSyncCommand
public class PerforceSyncCommand
This checks out the latest version of the build
Constructor Summary | |
---|---|
PerforceSyncCommand()
|
Method Summary | |
---|---|
Commandline |
getCommandLine()
Basic Perforce P4 command line. |
String |
getDepot()
What is the build depot? |
void |
setDepot(String depot)
Set the build depot |
void |
setForceUpdate(boolean forceUpdate)
Should we force the sync to update all the files in the depot? |
Methods inherited from class com.atlassian.bamboo.repository.perforce.AbstractPerforceCommand |
---|
getClient, getP4Executable, getPort, getUser, getWorkingDirectory, setClient, setP4Executable, setPort, setUser |
Methods inherited from class com.atlassian.bamboo.command.Command |
---|
executeCommand, getEnvironmentSetting, getErrorOutput, getOutput, hasErrors, isExecutableExists, isWindowsPlatform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PerforceSyncCommand()
Method Detail |
---|
public Commandline getCommandLine()
getCommandLine
in class Command
public void setDepot(String depot)
depot
- The perforce build depotpublic String getDepot()
public void setForceUpdate(boolean forceUpdate)
forceUpdate
- true if we want to force all files to be updated on the client
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |