class Browser extends Model

Browser

{
   "staplerClass": "hudson.plugins.viewVC.ViewVCRepositoryBrowser",
   "url": "https://svn.example.com/",
   "location": "Corp"
}

Properties

string $staplerClass
URI $url
string $location

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
string
getStaplerClass()

getStaplerClass

URI
getUrl()

getUrl

string
getLocation()

getLocation

setStaplerClass(string $staplerClass)

setStaplerClass

setUrl(URI $url)

setUrl

setLocation(string $location)

setLocation

static Browser
getInstanceFromArray(Array $array)

getInstanceFromArray

Details

in Model at line 45
static Model getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

Parameters

string $json Json Zeichenkette

Return Value

Model Datenobjekt

Exceptions

TypeException Wenn die JSON-Zeichenkette kein Array abbildet oder Fehlerhaft ist

at line 65
string getStaplerClass()

getStaplerClass

Return Value

string

at line 74
URI getUrl()

getUrl

Return Value

URI URL

at line 83
string getLocation()

getLocation

Return Value

string

at line 94
Browser setStaplerClass(string $staplerClass)

setStaplerClass

Parameters

string $staplerClass

Return Value

Browser

at line 106
Browser setUrl(URI $url)

setUrl

Parameters

URI $url

Return Value

Browser

at line 118
Browser setLocation(string $location)

setLocation

Parameters

string $location

Return Value

Browser

at line 138
static Browser getInstanceFromArray(Array $array)

getInstanceFromArray

{
   "staplerClass": "hudson.plugins.viewVC.ViewVCRepositoryBrowser",
   "url": "https://svn.example.com/",
   "location": "Corp"
}

Parameters

Array $array

Return Value

Browser