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

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode
Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$datasource DatasourceNode The node containing datasource information.
$installation InstallationNode The node containing installation information.

Méthodes publiques

Méthode Description
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.

Method Details

getDatasource() public méthode

Returns the node containing datasource information.
public getDatasource ( ) : DatasourceNode
Résultat DatasourceNode The node containing datasource information

getInstallation() public méthode

Returns the node containing installation information.
public getInstallation ( ) : InstallationNode
Résultat InstallationNode The node containing installation information

injectDatasource() public méthode

Injects the datasource node.
public injectDatasource ( DatasourceNode $datasource ) : void
$datasource DatasourceNode The datasource node to inject
Résultat void

merge() public méthode

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
Résultat void

reprovision() public méthode

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
Résultat void

Property Details

$datasource protected_oe property

The node containing datasource information.
protected DatasourceNode,AppserverIo\Appserver\Core\Api\Node $datasource
Résultat DatasourceNode

$installation protected_oe property

The node containing installation information.
protected InstallationNode,AppserverIo\Appserver\Core\Api\Node $installation
Résultat InstallationNode