public abstract class FolderProperty<C extends Folder> extends AbstractFolderProperty<C>
owner
Constructor and Description |
---|
FolderProperty() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsParentToCreate(hudson.model.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(hudson.model.TopLevelItem candidate) |
Collection<? extends hudson.model.Action> |
getFolderActions()
Deprecated.
Use
TransientActionFactory instead. |
getDescriptor, getHealthMetrics, getHealthReports, getItemContainerOverrides, getOwner, reconfigure, setOwner
public boolean allowsParentToCreate(hudson.model.TopLevelItemDescriptor candidate)
candidate
- The type of the item being considered.public boolean allowsParentToHave(hudson.model.TopLevelItem candidate)
@NonNull public Collection<? extends hudson.model.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–2017. All rights reserved.