net.sourceforge.cruisecontrol.bootstrappers
Class P4Bootstrapper

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.bootstrappers.P4Bootstrapper
All Implemented Interfaces:
Bootstrapper, java.io.Serializable

public class P4Bootstrapper
extends java.lang.Object
implements Bootstrapper

Bootstrapper for Perforce. Accepts one view that we sync.

Author:
Mike Roberts, Chris Stevenson, J D Glanville
See Also:
Serialized Form

Constructor Summary
P4Bootstrapper()
           
 
Method Summary
 void bootstrap()
          Perform the bootstrapping.
 Commandline createCommandline()
           
 void setClient(java.lang.String client)
           
 void setP4Client(java.lang.String p4Client)
          Deprecated. Use setClient instead
 void setP4Port(java.lang.String p4Port)
          Deprecated. Use setPort instead
 void setP4User(java.lang.String p4User)
          Deprecated. Use setUser instead
 void setPasswd(java.lang.String passwd)
           
 void setPath(java.lang.String path)
          Deprecated. Use setView instead
 void setPort(java.lang.String port)
           
 void setUser(java.lang.String user)
           
 void setView(java.lang.String view)
           
 void validate()
          Called after the configuration is read to make sure that all the mandatory parameters were specified..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P4Bootstrapper

public P4Bootstrapper()
Method Detail

setPort

public void setPort(java.lang.String port)

setClient

public void setClient(java.lang.String client)

setUser

public void setUser(java.lang.String user)

setView

public void setView(java.lang.String view)

setPasswd

public void setPasswd(java.lang.String passwd)

setPath

public void setPath(java.lang.String path)
Deprecated. Use setView instead


setP4Port

public void setP4Port(java.lang.String p4Port)
Deprecated. Use setPort instead


setP4Client

public void setP4Client(java.lang.String p4Client)
Deprecated. Use setClient instead


setP4User

public void setP4User(java.lang.String p4User)
Deprecated. Use setUser instead


validate

public void validate()
              throws CruiseControlException
Description copied from interface: Bootstrapper
Called after the configuration is read to make sure that all the mandatory parameters were specified..

Specified by:
validate in interface Bootstrapper
Throws:
CruiseControlException - if there was a configuration error.

bootstrap

public void bootstrap()
               throws CruiseControlException
Description copied from interface: Bootstrapper
Perform the bootstrapping.

Specified by:
bootstrap in interface Bootstrapper
Throws:
CruiseControlException - if bootstrap fails

createCommandline

public Commandline createCommandline()
                              throws CruiseControlException
Throws:
CruiseControlException