com.atlassian.bamboo.repository.perforce
Class PerforceChangesCommand

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.PerforceChangesCommand

Deprecated.

@Deprecated
public class PerforceChangesCommand
extends AbstractPerforceCommand

This obtains the change list numbers for all changes since the last build


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
PerforceChangesCommand()
          Deprecated.  
 
Method Summary
 java.util.List<java.lang.String> getChangeListNumbers(java.lang.Long lastChangeNumber)
          Deprecated. Extract the changelist number from the output

Change 83 on 2004/01/14 by andy@test 'Updated Properties '

 org.apache.tools.ant.types.Commandline getCommandLine(ReadOnlyCapabilitySet capabilitySet)
          Deprecated. Basic Perforce P4 command line.
 java.lang.String getDepot()
          Deprecated.  
 long getNumberOfChanges()
          Deprecated.  
 void setDepot(java.lang.String depot)
          Deprecated. Set the build depot
 void setNumberOfChanges(long numberOfChanges)
          Deprecated.  
 
Methods inherited from class com.atlassian.bamboo.repository.perforce.AbstractPerforceCommand
executeCommand, 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, getVariableSubstitutionBean, isExecutableExists, isWindowsPlatform, setBuildLoggerManager, setVariableSubstitutionBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerforceChangesCommand

public PerforceChangesCommand()
Deprecated. 
Method Detail

getCommandLine

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

E.G.

p4 -p localhost:1818 -c andy changes -s submitted //andy/perforce/bamboo/...@2004/01/14:00:00:00,2004/01/15:00:00:00

Specified by:
getCommandLine in class Command
Parameters:
capabilitySet -
Returns:
The perforce command to get the change logs submitted within a date range.

setDepot

public void setDepot(java.lang.String depot)
Deprecated. 
Set the build depot

Parameters:
depot - The perforce build depot

getDepot

public java.lang.String getDepot()
Deprecated. 

getChangeListNumbers

public java.util.List<java.lang.String> getChangeListNumbers(java.lang.Long lastChangeNumber)
Deprecated. 
Extract the changelist number from the output

Change 83 on 2004/01/14 by andy@test 'Updated Properties '

Parameters:
lastChangeNumber - - last change number bamboo checked out
Returns:
the collection of change number strings

getNumberOfChanges

public long getNumberOfChanges()
Deprecated. 

setNumberOfChanges

public void setNumberOfChanges(long numberOfChanges)
Deprecated. 


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.