com.atlassian.bamboo.repository.perforce
Class PerforceClientCommand

java.lang.Object
  extended by com.atlassian.bamboo.command.Command
      extended by com.atlassian.bamboo.repository.perforce.AbstractPerforceCommand
          extended by com.atlassian.bamboo.repository.perforce.PerforceClientCommand

Deprecated.

@Deprecated
public class PerforceClientCommand
extends AbstractPerforceCommand

This works out what the client's root is so we can work out where perforce checks out the source files.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.repository.perforce.AbstractPerforceCommand
myCommandErrors, myCommandOutput
 
Fields inherited from class com.atlassian.bamboo.command.Command
buildLoggerManager, substitutionBean
 
Constructor Summary
PerforceClientCommand()
          Deprecated.  
 
Method Summary
 java.util.List getAltRoots()
          Deprecated.  
 java.lang.String getClientRoot()
          Deprecated. Crude!
 org.apache.tools.ant.types.Commandline getCommandLine(ReadOnlyCapabilitySet capabilitySet)
          Deprecated. Basic Perforce P4 command line.
 
Methods inherited from class com.atlassian.bamboo.repository.perforce.AbstractPerforceCommand
executeCommand, getClient, getEncryptedPassword, getErrorOutput, getOutput, getP4Executable, getPassword, getPort, getUser, getWorkingDirectory, hasErrors, setClient, setEncryptedPassword, setP4Executable, setPort, setUser
 
Methods inherited from class com.atlassian.bamboo.command.Command
executeCommand, getBuildLoggerManager, getCustomEnvironmentVars, getEnvironmentSetting, getSubstituteCommandLine, getVariableSubstitutionBean, isWindowsPlatform, setBuildLoggerManager, setVariableSubstitutionBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerforceClientCommand

public PerforceClientCommand()
Deprecated. 
Method Detail

getCommandLine

public org.apache.tools.ant.types.Commandline getCommandLine(ReadOnlyCapabilitySet capabilitySet)
Deprecated. 
Basic Perforce P4 command line.

Specified by:
getCommandLine in class Command
Parameters:
capabilitySet -
Returns:
The perforce command to checkout the changes to the build since the last time it was called.

getClientRoot

public java.lang.String getClientRoot()
Deprecated. 
Crude!

Returns:
The clients root directory

getAltRoots

public java.util.List getAltRoots()
Deprecated. 


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.