Class FolderProperty<C extends Folder>
java.lang.Object
hudson.model.AbstractDescribableImpl<AbstractFolderProperty<?>>
com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<C>
com.cloudbees.hudson.plugins.folder.FolderProperty<C>
- All Implemented Interfaces:
ExtensionPoint,Describable<AbstractFolderProperty<?>>,ReconfigurableDescribable<AbstractFolderProperty<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
owner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowsParentToCreate(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.booleanallowsParentToHave(TopLevelItem candidate) Collection<? extends Action>Deprecated.Methods inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
getDescriptor, getHealthMetrics, getHealthReports, getItemContainerOverrides, getOwner, reconfigure, reconfigure, setOwner
-
Constructor Details
-
FolderProperty
public FolderProperty()
-
-
Method Details
-
allowsParentToCreate
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.- Parameters:
candidate- The type of the item being considered.- Returns:
- false to prevent the container to create the children of the said type.
-
allowsParentToHave
-
getFolderActions
Deprecated.UseTransientActionFactoryinstead.Actions 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.
- Returns:
- can be empty but never null.
- Since:
- 3.14
-
TransientActionFactoryinstead.