PHP Интерфейс AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface

Автор: Bernhard Wick ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
attachApp ( AppNode $app ) : void Attaches the passed app node.
attachDatasource ( DatasourceNode $datasource ) : void Attaches the passed datasource node.
getApps ( ) : array Returns an array with the information about the deployed applications.
getBaseDirectory ( ) : string Returns the node with the base directory information.
getContainers ( ) : array Returns the array with all available containers.
getDatasources ( ) : array Returns an array with the information about the deployed datasources.
getExtractors ( ) : array Returns the array with registered extractors.
getGroup ( ) : string Returns the groupname configured in the system configuration.
getInitialContext ( ) : InitialContextNode Returns the node containing information about the initial context.
getLoggers ( ) : array Returns the array with all available loggers.
getParam ( string $name ) : mixed Returns the param with the passed name casted to the specified type.
getParams ( ) : array Array with the handler params to use.
getParamsAsArray ( ) : array Returns the params casted to the defined type as associative array.
getProvisioners ( ) : array Returns the array with registered provisioners.
getScanners ( ) : array Returns the array with all available scanners.
getUmask ( ) : string Returns the umask configured in the system configuration.
getUser ( ) : string Returns the username configured in the system configuration.

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

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

Attaches the passed app node.
public attachApp ( AppNode $app ) : void
$app AppserverIo\Appserver\Core\Api\Node\AppNode The app node to attach
Результат void

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

Attaches the passed datasource node.
public attachDatasource ( DatasourceNode $datasource ) : void
$datasource AppserverIo\Appserver\Core\Api\Node\DatasourceNode The datasource node to attach
Результат void

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

Returns an array with the information about the deployed applications.
public getApps ( ) : array
Результат array The array with the information about the deployed applications

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

Returns the node with the base directory information.
public getBaseDirectory ( ) : string
Результат string The base directory information

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

Returns the array with all available containers.
public getContainers ( ) : array
Результат array The available containers

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

Returns an array with the information about the deployed datasources.
public getDatasources ( ) : array
Результат array The array with the information about the deployed datasources

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

Returns the array with registered extractors.
public getExtractors ( ) : array
Результат array The registered extractors

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

Returns the groupname configured in the system configuration.
public getGroup ( ) : string
Результат string The groupname

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

Returns the node containing information about the initial context.
public getInitialContext ( ) : InitialContextNode
Результат AppserverIo\Appserver\Core\Api\Node\InitialContextNode The initial context information

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

Returns the array with all available loggers.
public getLoggers ( ) : array
Результат array The available loggers

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

Returns the param with the passed name casted to the specified type.
public getParam ( string $name ) : mixed
$name string The name of the param to be returned
Результат mixed The requested param casted to the specified type

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

Array with the handler params to use.
public getParams ( ) : array
Результат array

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

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
Результат array The array with the casted params

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

Returns the array with registered provisioners.
public getProvisioners ( ) : array
Результат array The registered provisioners

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

Returns the array with all available scanners.
public getScanners ( ) : array
Результат array The available scanners

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

Returns the umask configured in the system configuration.
public getUmask ( ) : string
Результат string The umask

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

Returns the username configured in the system configuration.
public getUser ( ) : string
Результат string The username