|
||||||||||
| 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
public abstract class AbstractPerforceCommand
This class provides common perforce command behaviour.
| Constructor Summary | |
|---|---|
AbstractPerforceCommand()
|
|
| Method Summary | |
|---|---|
String |
getClient()
Which client are we using? |
String |
getP4Executable()
Which perforce p4 app are we using |
String |
getPort()
Which port are we using? |
String |
getUser()
Which perforce username are we using to execute commands |
File |
getWorkingDirectory()
Not implemented as perforce places the files according to the depot definition. |
void |
setClient(String client)
Specify the client name are we using |
void |
setP4Executable(String p4Exe)
Define the p4 app we're using to run these commands |
void |
setPort(String port)
Define the port |
void |
setUser(String user)
Define the perforce user used to execute the perforce command |
| Methods inherited from class com.atlassian.bamboo.command.Command |
|---|
executeCommand, getCommandLine, 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 AbstractPerforceCommand()
| Method Detail |
|---|
public String getUser()
public void setUser(String user)
user - The perforce user namepublic void setP4Executable(String p4Exe)
p4Exe - public String getP4Executable()
public void setPort(String port)
port - what is the portpublic String getPort()
public void setClient(String client)
client - The clientpublic String getClient()
public File getWorkingDirectory()
getWorkingDirectory in class Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||