ApplicationInfo model implementation.

license New BSD License
link for the canonical source repository
author Ingo Walz
category Zend
package Zend_Service
subpackage ZendServerAPI

 Methods

Set a list of messages, related to the application

addDeployedVersions(\ZendService\ZendServerAPI\DataTypes\DeployedVersions $deployedVersions) : void

Add a server

addServer(\ZendService\ZendServerAPI\DataTypes\ApplicationServer $server) : void

Get the application's name

getAppName() : string

Returns

string

Get an associative array based on the model information

getArray() : array
Inherited
inherited_from \ZendService\ZendServerAPI\DataTypes\DataType::getArray()

Returns

array

Get the application's base Url

getBaseUrl() : string

Returns

string

Get the list of messages, related to the application

getDeployedVersions() : array

Returns

array

Get the application's ID

getId() : integer

Returns

integer

Get the application's path on the file system

getInstalledlocation() : string

Returns

string

Get the list of messages, related to the application

getMessageList() : \ZendService\ZendServerAPI\DataTypes\MessageList

Get the list of servers with the application's status and version

getServers() : array

Returns

array\ZendService\ZendServerAPI\DataTypes\ApplicationServer

Get the application's status.

getStatus() : string

Might be one of the following: - uploadError - staging - stageError - activating - deployed - activateError - deactivating - deactivateError - unstaging - unstageError - rollingBack - rollbackError - unknown - partially deployed (available for Zend Server Cluster Manager only) - notExists

Returns

string

Get free text

getUserAppName() : string

Returns

string

Set the application's name

setAppName(string $appName) : void

Parameters

$appName

string

Set the application's base Url

setBaseUrl(string $baseUrl) : void

Parameters

$baseUrl

string

Set a list of messages, related to the application

setDeployedVersions(array $deployedVersions) : void

Parameters

$deployedVersions

array

Set the application's ID

setId(integer $id) : void

Parameters

$id

integer

Set path of the application

setInstalledlocation(string $installedlocation) : void

Parameters

$installedlocation

string

Set a list of messages, related to the application

setMessageList(\ZendService\ZendServerAPI\DataTypes\MessageList $messageList) : void

Set the application's servers

setServers(array $servers) : void

Parameters

$servers

array

\ZendService\ZendServerAPI\DataTypes\ApplicationServer

Set the application's status, has to be one of this: - uploadError - staging - stageError - activating - deployed - activateError - deactivating - deactivateError - unstaging - unstageError - rollingBack - rollbackError - unknown - partially deployed (available for Zend Server Cluster Manager only) - notExists

setStatus(string $status) : void

Parameters

$status

string

Set free text

setUserAppName(string $userAppName) : void

Parameters

$userAppName

string

 Properties

 

$appName : string
 

$baseUrl : string
 

$deployedVersions : array
 

$id : int
 

$installedlocation : string
   

$servers : array
 

$status : string
 

$userAppName : string