Abstract class for the api sections

All by the end user provided api sections (deployment, codetracing,
server,...) have to extend this class.
license New BSD License
link for the canonical source repository
author Ingo Walz
category Zend
package Zend_Service
subpackage ZendServerAPI

 Methods

Base constructor for all API-method implementations

__construct(string $name) 

Parameters

$name

string

Name of the config

Check if connection is possible or not

canConnect() : bool

Returns

bool

Disables the logging

disableLogging() : void

Enables the logging

enableLogging() : void

Get the plugin manager

getPluginManager() : \Zend\ServiceManager\PluginManager

Returns

\Zend\ServiceManager\PluginManager

Returns the current request

getRequest() : \ZendService\ZendServerAPI\Request

Set the client.

setClient(\Zend\Http\Client $client) : void

Most likly for testing

Parameters

$client

\Zend\Http\Client

Set the config file.

setConfigFile(string $configFile) : void

Proxy to the pluginmanager for initialization

Parameters

$configFile

string

Set the request for the current context

setRequest(\ZendService\ZendServerAPI\Request $request) : void

Get the first event groups identifier by an given issue id.

getFirstEventGroupsIdByIssueId(int $issueId) : int

This will perform an monitorGetIssuesDetails action.

Parameters

$issueId

int

Returns

int

 Properties

 

$name : string