Package jenkins.branch
Class NoTriggerOrganizationFolderProperty.PropertyMigrationImpl
- java.lang.Object
-
- jenkins.branch.PropertyMigration<OrganizationFolder,NoTriggerOrganizationFolderProperty>
-
- jenkins.branch.NoTriggerOrganizationFolderProperty.PropertyMigrationImpl
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- NoTriggerOrganizationFolderProperty
@Extension public static class NoTriggerOrganizationFolderProperty.PropertyMigrationImpl extends PropertyMigration<OrganizationFolder,NoTriggerOrganizationFolderProperty>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jenkins.branch.PropertyMigration
PropertyMigration.Migrator<F extends com.cloudbees.hudson.plugins.folder.AbstractFolder<?>,P extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<F>>, PropertyMigration.MonitorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PropertyMigrationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jvnet.localizer.Localizable
getDescription()
boolean
isEnabled()
Whether thisPropertyMigration
is enabled.-
Methods inherited from class jenkins.branch.PropertyMigration
apply, applyAll, canApply, equals, getPluginDisplayName, getPluginInstallId, getPluginName, getPluginVersion, hashCode, isApplicable, isPendingRestart, isPluginUpgrade
-
-
-
-
Method Detail
-
getDescription
public org.jvnet.localizer.Localizable getDescription()
- Specified by:
getDescription
in classPropertyMigration<OrganizationFolder,NoTriggerOrganizationFolderProperty>
-
isEnabled
public boolean isEnabled()
Description copied from class:PropertyMigration
Whether thisPropertyMigration
is enabled. If it is enabled, and a correspondingPropertyMigration.Migrator
extension is available, the migration will be applied automatically. If it is enabled, and no correspondingPropertyMigration.Migrator
extension is available, then an admin monitor will be shown suggested that the user install or update a plugin that provides the migration. If it is disabled, then neither of these things will happen.- Overrides:
isEnabled
in classPropertyMigration<OrganizationFolder,NoTriggerOrganizationFolderProperty>
- Returns:
- true if this
PropertyMigration
is enabled, false if it is disabled.
-
-