PHP Interface AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface

Afficher le fichier Open project: appserver-io/appserver Interface Usage Examples

Méthodes publiques

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

Method Details

attachApp() public méthode

Attaches the passed app node.
public attachApp ( AppNode $app ) : void
$app AppserverIo\Appserver\Core\Api\Node\AppNode The app node to attach
Résultat void

attachDatasource() public méthode

Attaches the passed datasource node.
public attachDatasource ( DatasourceNode $datasource ) : void
$datasource AppserverIo\Appserver\Core\Api\Node\DatasourceNode The datasource node to attach
Résultat void

getApps() public méthode

Returns an array with the information about the deployed applications.
public getApps ( ) : array
Résultat array The array with the information about the deployed applications

getBaseDirectory() public méthode

Returns the node with the base directory information.
public getBaseDirectory ( ) : string
Résultat string The base directory information

getContainers() public méthode

Returns the array with all available containers.
public getContainers ( ) : array
Résultat array The available containers

getDatasources() public méthode

Returns an array with the information about the deployed datasources.
public getDatasources ( ) : array
Résultat array The array with the information about the deployed datasources

getExtractors() public méthode

Returns the array with registered extractors.
public getExtractors ( ) : array
Résultat array The registered extractors

getGroup() public méthode

Returns the groupname configured in the system configuration.
public getGroup ( ) : string
Résultat string The groupname

getInitialContext() public méthode

Returns the node containing information about the initial context.
public getInitialContext ( ) : InitialContextNode
Résultat AppserverIo\Appserver\Core\Api\Node\InitialContextNode The initial context information

getLoggers() public méthode

Returns the array with all available loggers.
public getLoggers ( ) : array
Résultat array The available loggers

getParam() public méthode

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
Résultat mixed The requested param casted to the specified type

getParams() public méthode

Array with the handler params to use.
public getParams ( ) : array
Résultat array

getParamsAsArray() public méthode

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
Résultat array The array with the casted params

getProvisioners() public méthode

Returns the array with registered provisioners.
public getProvisioners ( ) : array
Résultat array The registered provisioners

getScanners() public méthode

Returns the array with all available scanners.
public getScanners ( ) : array
Résultat array The available scanners

getUmask() public méthode

Returns the umask configured in the system configuration.
public getUmask ( ) : string
Résultat string The umask

getUser() public méthode

Returns the username configured in the system configuration.
public getUser ( ) : string
Résultat string The username