PHP Класс AppserverIo\Appserver\Core\Api\Node\ProvisionNode

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Description\Api\Node\AbstractNode
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$datasource DatasourceNode The node containing datasource information.
$installation InstallationNode The node containing installation information.

Открытые методы

Метод Описание
getDatasource ( ) : DatasourceNode Returns the node containing datasource information.
getInstallation ( ) : InstallationNode Returns the node containing installation information.
injectDatasource ( DatasourceNode $datasource ) : void Injects the datasource node.
merge ( ProvisionNode $provisionNode ) : void This method merges the installation steps of the passed provisioning node into the steps of this instance. If a installation node with the same type already exists, the one of this instance will be overwritten.
reprovision ( string $provisionFile ) : void This method reprovisions the provision node with the data from the file passed as parameter.

Описание методов

getDatasource() публичный метод

Returns the node containing datasource information.
public getDatasource ( ) : DatasourceNode
Результат DatasourceNode The node containing datasource information

getInstallation() публичный метод

Returns the node containing installation information.
public getInstallation ( ) : InstallationNode
Результат InstallationNode The node containing installation information

injectDatasource() публичный метод

Injects the datasource node.
public injectDatasource ( DatasourceNode $datasource ) : void
$datasource DatasourceNode The datasource node to inject
Результат void

merge() публичный метод

This method merges the installation steps of the passed provisioning node into the steps of this instance. If a installation node with the same type already exists, the one of this instance will be overwritten.
public merge ( ProvisionNode $provisionNode ) : void
$provisionNode ProvisionNode The node with the installation steps we want to merge
Результат void

reprovision() публичный метод

Before reinitializing the provisioning node, the file will be reinterpreted with be invoking the PHP parser again, what again gives you the possibility to replace content by calling the PHP methods of this class.
public reprovision ( string $provisionFile ) : void
$provisionFile string The absolute pathname of the file to reprovision from
Результат void

Описание свойств

$datasource защищенное свойство

The node containing datasource information.
protected DatasourceNode,AppserverIo\Appserver\Core\Api\Node $datasource
Результат DatasourceNode

$installation защищенное свойство

The node containing installation information.
protected InstallationNode,AppserverIo\Appserver\Core\Api\Node $installation
Результат InstallationNode