@Extension @Symbol(value="copyartifact") public class CopyArtifactConfiguration extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
CopyArtifactConfiguration()
ctor.
|
Modifier and Type | Method and Description |
---|---|
static CopyArtifactConfiguration |
get() |
GlobalConfigurationCategory |
getCategory() |
CopyArtifactCompatibilityMode |
getMode() |
protected boolean |
isFirstLoad() |
static boolean |
isMigrationMode() |
void |
load() |
void |
setMode(CopyArtifactCompatibilityMode mode) |
protected void |
setModeWithoutSave(CopyArtifactCompatibilityMode mode)
Set the compatibility mode without storing to the disk.
|
void |
setToFirstLoad()
Set the the first load status.
|
static void |
syncToDiskForFirstLoad() |
all, configure, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public void load()
load
in class Descriptor<GlobalConfiguration>
@Initializer(after=EXTENSIONS_AUGMENTED, before=JOB_LOADED) public static void syncToDiskForFirstLoad()
protected boolean isFirstLoad()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setToFirstLoad() throws IOException
IOException
@NonNull public CopyArtifactCompatibilityMode getMode()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) protected void setModeWithoutSave(@NonNull CopyArtifactCompatibilityMode mode)
public void setMode(@NonNull CopyArtifactCompatibilityMode mode)
mode
- the compatibility mode.public static boolean isMigrationMode()
true
if set to Migration mode.@NonNull public GlobalConfigurationCategory getCategory()
getCategory
in class Descriptor<GlobalConfiguration>
@CheckForNull public static CopyArtifactConfiguration get()
Copyright © 2016–2022. All rights reserved.