public abstract class AbstractFolderProperty<C extends AbstractFolder<?>> extends hudson.model.AbstractDescribableImpl<AbstractFolderProperty<?>> implements hudson.ExtensionPoint, hudson.model.ReconfigurableDescribable<AbstractFolderProperty<?>>
AbstractFolder.| Modifier and Type | Field and Description |
|---|---|
protected C |
owner
The
AbstractFolder object that owns this property. |
| Constructor and Description |
|---|
AbstractFolderProperty() |
| Modifier and Type | Method and Description |
|---|---|
AbstractFolderPropertyDescriptor |
getDescriptor() |
List<FolderHealthMetric> |
getHealthMetrics()
Returns the health metrics contributed by this property.
|
List<hudson.model.HealthReport> |
getHealthReports()
Folder properties can optionally contribute health reports for the folder.
|
Collection<?> |
getItemContainerOverrides()
Provides stapler override objects to
Folder so that its URL space can be partially
overridden by properties. |
C |
getOwner()
Gets an owner of the property.
|
AbstractFolderProperty<?> |
reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form) |
protected void |
setOwner(C owner)
Hook for performing post-initialization action.
|
protected transient C extends AbstractFolder<?> owner
AbstractFolder object that owns this property.
This value will be set by the folder.
Derived classes can expect this value to be always set.protected void setOwner(@NonNull
C owner)
owner - the owner.@NonNull @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public C getOwner()
public AbstractFolderPropertyDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<AbstractFolderProperty<?>>getDescriptor in class hudson.model.AbstractDescribableImpl<AbstractFolderProperty<?>>public Collection<?> getItemContainerOverrides()
Folder so that its URL space can be partially
overridden by properties.StaplerOverridablepublic AbstractFolderProperty<?> reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) throws hudson.model.Descriptor.FormException
reconfigure in interface hudson.model.ReconfigurableDescribable<AbstractFolderProperty<?>>hudson.model.Descriptor.FormException@NonNull public List<hudson.model.HealthReport> getHealthReports()
getHealthMetrics()
in order to prevent multiple iterations of the items in the folder.@NonNull public List<FolderHealthMetric> getHealthMetrics()
Copyright © 2016–2017. All rights reserved.