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
-
Method Summary
Modifier and TypeMethodDescriptionorg.jvnet.localizer.Localizable
boolean
Whether thisPropertyMigration
is enabled.Methods inherited from class jenkins.branch.PropertyMigration
apply, applyAll, canApply, equals, getPluginDisplayName, getPluginInstallId, getPluginName, getPluginVersion, hashCode, isApplicable, isPendingRestart, isPluginUpgrade
-
Constructor Details
-
PropertyMigrationImpl
public PropertyMigrationImpl()
-
-
Method Details
-
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.
-