PHP Class Deployer\Cluster\Node

Author: Irfan Durmus (http://github.com/irfan) ([email protected])
Inheritance: implements Deployer\Cluster\NodeInterface
Datei anzeigen Open project: elfet/deployer Class Usage Examples

Public Properties

Property Type Description
$builder Deployer\Builder\BuilderInterface

Protected Properties

Property Type Description
$deployer Deployer\Deployer
$host string
$name string
$port integer
$server Deployer\Server\ServerInterface

Public Methods

Method Description
getBuilder ( ) : Deployer\Builder\BuilderInterface
getServer ( ) : Deployer\Server\ServerInterface
initialize ( ) : Deployer\Cluster\NodeInterface initialize the node
setDeployer ( Deployer $deployer ) : Deployer\Cluster\NodeInterface
setHost ( string $host ) : Deployer\Cluster\NodeInterface
setName ( string $name ) : Deployer\Cluster\NodeInterface
setPort ( integer $port ) : Deployer\Cluster\NodeInterface

Method Details

getBuilder() public method

public getBuilder ( ) : Deployer\Builder\BuilderInterface
return Deployer\Builder\BuilderInterface

getServer() public method

public getServer ( ) : Deployer\Server\ServerInterface
return Deployer\Server\ServerInterface

initialize() public method

initialize the node
public initialize ( ) : Deployer\Cluster\NodeInterface
return Deployer\Cluster\NodeInterface

setDeployer() public method

public setDeployer ( Deployer $deployer ) : Deployer\Cluster\NodeInterface
$deployer Deployer\Deployer
return Deployer\Cluster\NodeInterface

setHost() public method

public setHost ( string $host ) : Deployer\Cluster\NodeInterface
$host string
return Deployer\Cluster\NodeInterface

setName() public method

public setName ( string $name ) : Deployer\Cluster\NodeInterface
$name string
return Deployer\Cluster\NodeInterface

setPort() public method

public setPort ( integer $port ) : Deployer\Cluster\NodeInterface
$port integer
return Deployer\Cluster\NodeInterface

Property Details

$builder public_oe property

public BuilderInterface,Deployer\Builder $builder
return Deployer\Builder\BuilderInterface

$deployer protected_oe property

protected Deployer,Deployer $deployer
return Deployer\Deployer

$host protected_oe property

protected string $host
return string

$name protected_oe property

protected string $name
return string

$port protected_oe property

protected int $port
return integer

$server protected_oe property

protected ServerInterface,Deployer\Server $server
return Deployer\Server\ServerInterface