public abstract class AbstractConfiguration
extends hudson.scm.SCM
Modifier and Type | Class and Description |
---|---|
static class |
AbstractConfiguration.AbstractConfigurationImpl<T extends hudson.scm.SCM>
Abstract configuration implementation.
|
Modifier and Type | Field and Description |
---|---|
protected String |
m_codePage
Deprecated.
|
protected String |
m_connectionId |
protected String |
m_hostPort
Deprecated.
|
protected boolean |
m_isMigrated |
Constructor and Description |
---|
AbstractConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isMigrated()
Return true if the configuration is migrated.
|
static void |
jobLoaded() |
protected Object |
readResolve()
Called when object has been deserialized from a stream.
|
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, calcRevisionsFromBuild, checkout, checkout, compareRemoteRevisionWith, compareRemoteRevisionWith, createChangeLogParser, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling
protected String m_connectionId
@Deprecated protected transient String m_hostPort
@Deprecated protected transient String m_codePage
protected transient boolean m_isMigrated
protected boolean isMigrated()
protected Object readResolve()
Data migration:
In 2.0 "hostPort" and "codePage" were removed and replaced by a list of host connections. This list is a global and created with the Global Configuration page. If old hostPort and codePage properties exist, then a an attempt is made to create a new host connection with these properties and add it to the list of global host connections, as long as there is no other host connection already existing with the same properties.
this
, or a replacement for this
.@Initializer(before=COMPLETED, after=JOB_LOADED) public static void jobLoaded() throws IOException
IOException
Copyright © 2016–2023. All rights reserved.