PHP 클래스 AppserverIo\Appserver\Core\Api\Node\ProvisionNode

상속: extends AppserverIo\Description\Api\Node\AbstractNode
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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