PHP Class AppserverIo\Appserver\Core\Api\Node\HostNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\HostNodeInterface, use trait AppserverIo\Appserver\Core\Api\Node\ContextsNodeTrait
Show file Open project: appserver-io/appserver

Protected Properties

Property Type Description
$appBase string The application base directory.
$deployBase string The deployment base directory.
$name string The host name.
$tmpBase string The temporary base directory.

Public Methods

Method Description
__construct ( string $name = '', string $appBase = 'webapps', string $tmpBase = 'var/tmp', string $deployBase = 'deploy' ) Initializes the node with the passed data.
getAppBase ( ) : string Returns the application base directory.
getDeployBase ( ) : string Returns the deployment base directory.
getDirectories ( ) : array Return's the host's directories, e. g. to be created.
getName ( ) : string Returns the host name.
getTmpBase ( ) : string Returns the temporary base directory.

Method Details

__construct() public method

Initializes the node with the passed data.
public __construct ( string $name = '', string $appBase = 'webapps', string $tmpBase = 'var/tmp', string $deployBase = 'deploy' )
$name string The host name
$appBase string The application base directory
$tmpBase string The temporary base directory
$deployBase string The deployment base directory

getAppBase() public method

Returns the application base directory.
public getAppBase ( ) : string
return string The application base directory

getDeployBase() public method

Returns the deployment base directory.
public getDeployBase ( ) : string
return string The deployment base directory

getDirectories() public method

Return's the host's directories, e. g. to be created.
public getDirectories ( ) : array
return array The array with the host's directories

getName() public method

Returns the host name.
public getName ( ) : string
return string The host name

getTmpBase() public method

Returns the temporary base directory.
public getTmpBase ( ) : string
return string The temporary base directory

Property Details

$appBase protected property

The application base directory.
protected string $appBase
return string

$deployBase protected property

The deployment base directory.
protected string $deployBase
return string

$name protected property

The host name.
protected string $name
return string

$tmpBase protected property

The temporary base directory.
protected string $tmpBase
return string