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
Afficher le fichier Open project: appserver-io/appserver

Protected Properties

Свойство 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.

Méthodes publiques

Méthode 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 méthode

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 méthode

Returns the application base directory.
public getAppBase ( ) : string
Résultat string The application base directory

getDeployBase() public méthode

Returns the deployment base directory.
public getDeployBase ( ) : string
Résultat string The deployment base directory

getDirectories() public méthode

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

getName() public méthode

Returns the host name.
public getName ( ) : string
Résultat string The host name

getTmpBase() public méthode

Returns the temporary base directory.
public getTmpBase ( ) : string
Résultat string The temporary base directory

Property Details

$appBase protected_oe property

The application base directory.
protected string $appBase
Résultat string

$deployBase protected_oe property

The deployment base directory.
protected string $deployBase
Résultat string

$name protected_oe property

The host name.
protected string $name
Résultat string

$tmpBase protected_oe property

The temporary base directory.
protected string $tmpBase
Résultat string