public abstract class FolderProperty<C extends Folder> extends AbstractFolderProperty<C>
ExtensionPoint.LegacyInstancesAreScopedToHudson
owner
Constructor and Description |
---|
FolderProperty() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsParentToCreate(TopLevelItemDescriptor candidate)
Determines if the parent container is allowed to create a new item of the given type, or copy from
an existing item of the given type.
|
boolean |
allowsParentToHave(TopLevelItem candidate) |
Collection<? extends Action> |
getFolderActions()
Deprecated.
Use
TransientActionFactory instead. |
getDescriptor, getHealthMetrics, getHealthReports, getItemContainerOverrides, getOwner, reconfigure, setOwner
public boolean allowsParentToCreate(TopLevelItemDescriptor candidate)
candidate
- The type of the item being considered.public boolean allowsParentToHave(TopLevelItem candidate)
@NonNull public Collection<? extends Action> getFolderActions()
TransientActionFactory
instead.Action
s to be displayed in the folder page.
Returning actions from this method allows a folder property to add them to the left navigation bar in the folder page.
Copyright © 2016–2020. All rights reserved.