class SCM extends Model

SCM

{
    "value": "6",
    "locations": {
        "remote": "https://svn.example.com/svn/trunk",
        "local": ".",
        "depthOption": "infinity",
        "ignoreExternalsOption": false
    },
    "workspaceUpdater": {
        "stapler-class": "hudson.scm.subversion.UpdateWithCleanUpdater"
    },
    "browser": {
        "stapler-class": "hudson.plugins.viewVC.ViewVCRepositoryBrowser",
        "url": "https://svn.example.com/",
        "location": "local"
    },
    "ignoreDirPropChanges": false,
    "excludedRegions": "",
    "includedRegions": "",
    "excludedUsers": "",
    "excludedCommitMessages": "",
    "excludedRevprop": "",
    "filterChangelog": false
}

Properties

string $value
Location $locations
WorkspaceUpdater $workspaceUpdater
Browser $browser
boolean $ignoreDirPropChanges
string $excludedRegions
string $includedRegions
string $excludedUsers
string $excludedCommitMessages
string $excludedRevprop
boolean $filterChangelog

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
string
getValue()

getValue

Location>
getLocations()

getLocations

getWorkspaceUpdater()

getWorkspaceUpdater

getBrowser()

getBrowser

boolean
getIgnoreDirPropChanges()

getIgnoreDirPropChanges

string
getExcludedRegions()

getExcludedRegions

string
getIncludedRegions()

getIncludedRegions

string
getExcludedUsers()

getExcludedUsers

string
getExcludedCommitMessages()

getExcludedCommitMessages

string
getExcludedRevprop()

getExcludedRevprop

boolean
getFilterChangelog()

getFilterChangelog

SCM
setValue(string $value)

setValue

SCM
setLocations(Location $locations)

setLocations

SCM
setWorkspaceUpdater(WorkspaceUpdater $workspaceUpdater)

setWorkspaceUpdater

SCM
setBrowser(Browser $browser)

setBrowser

SCM
setIgnoreDirPropChanges(boolean $ignoreDirPropChanges)

setIgnoreDirPropChanges

SCM
setExcludedRegions(string $excludedRegions)

setExcludedRegions

SCM
setIncludedRegions(string $includedRegions)

setIncludedRegions

SCM
setExcludedUsers(string $excludedUsers)

setExcludedUsers

SCM
setExcludedCommitMessages(string $excludedCommitMessages)

setExcludedCommitMessages

SCM
setExcludedRevprop(string $excludedRevprop)

setExcludedRevprop

SCM
setFilterChangelog(boolean $filterChangelog)

setFilterChangelog

static SCM
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 124
string getValue()

getValue

Return Value

string

at line 133
Location> getLocations()

getLocations

Return Value

Location>

at line 142
WorkspaceUpdater getWorkspaceUpdater()

getWorkspaceUpdater

Return Value

WorkspaceUpdater

at line 151
Browser getBrowser()

getBrowser

Return Value

Browser

at line 161
boolean getIgnoreDirPropChanges()

getIgnoreDirPropChanges

Return Value

boolean

at line 171
string getExcludedRegions()

getExcludedRegions

Return Value

string

at line 181
string getIncludedRegions()

getIncludedRegions

Return Value

string

at line 191
string getExcludedUsers()

getExcludedUsers

Return Value

string

at line 201
string getExcludedCommitMessages()

getExcludedCommitMessages

Return Value

string

at line 211
string getExcludedRevprop()

getExcludedRevprop

Return Value

string

at line 221
boolean getFilterChangelog()

getFilterChangelog

Return Value

boolean

at line 232
SCM setValue(string $value)

setValue

Parameters

string $value

Return Value

SCM

at line 244
SCM setLocations(Location $locations)

setLocations

Parameters

Location $locations

Return Value

SCM

at line 256
SCM setWorkspaceUpdater(WorkspaceUpdater $workspaceUpdater)

setWorkspaceUpdater

Parameters

WorkspaceUpdater $workspaceUpdater

Return Value

SCM

at line 268
SCM setBrowser(Browser $browser)

setBrowser

Parameters

Browser $browser

Return Value

SCM

at line 280
SCM setIgnoreDirPropChanges(boolean $ignoreDirPropChanges)

setIgnoreDirPropChanges

Parameters

boolean $ignoreDirPropChanges

Return Value

SCM

at line 292
SCM setExcludedRegions(string $excludedRegions)

setExcludedRegions

Parameters

string $excludedRegions

Return Value

SCM

at line 304
SCM setIncludedRegions(string $includedRegions)

setIncludedRegions

Parameters

string $includedRegions

Return Value

SCM

at line 316
SCM setExcludedUsers(string $excludedUsers)

setExcludedUsers

Parameters

string $excludedUsers

Return Value

SCM

at line 328
SCM setExcludedCommitMessages(string $excludedCommitMessages)

setExcludedCommitMessages

Parameters

string $excludedCommitMessages

Return Value

SCM

at line 340
SCM setExcludedRevprop(string $excludedRevprop)

setExcludedRevprop

Parameters

string $excludedRevprop

Return Value

SCM

at line 352
SCM setFilterChangelog(boolean $filterChangelog)

setFilterChangelog

Parameters

boolean $filterChangelog

Return Value

SCM

at line 392
static SCM getInstanceFromArray(Array $array)

getInstanceFromArray

Aufbau des Json

{
    "value": "6",
    "locations": {
        "remote": "https://svn.example.com/svn/trunk",
        "local": ".",
        "depthOption": "infinity",
        "ignoreExternalsOption": false
    },
    "workspaceUpdater": {
        "stapler-class": "hudson.scm.subversion.UpdateWithCleanUpdater"
    },
    "browser": {
        "stapler-class": "hudson.plugins.viewVC.ViewVCRepositoryBrowser",
        "url": "https://svn.example.com/",
        "location": "local"
    },
    "ignoreDirPropChanges": false,
    "excludedRegions": "",
    "includedRegions": "",
    "excludedUsers": "",
    "excludedCommitMessages": "",
    "excludedRevprop": "",
    "filterChangelog": false
}

Parameters

Array $array

Return Value

SCM