Class TransientFolderActionFactory
- java.lang.Object
-
- com.cloudbees.hudson.plugins.folder.TransientFolderActionFactory
-
- All Implemented Interfaces:
ExtensionPoint
@Deprecated public abstract class TransientFolderActionFactory extends Object implements ExtensionPoint
Deprecated.UseTransientActionFactory
onFolder
instead.Extension point for inserting transientAction
s intoFolder
s. Actions contributed toFolder
s by this method are transient — they will not be persisted, and each time Nectar starts or the configuration of the job changes, they'll be recreated. Therefore, to maintain persistent data per project, you'll need to do data serialization by yourself. Do so by storing a file underAbstractItem.getRootDir()
.To register your implementation, put
@Extension
on your subtype.- See Also:
Action
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description TransientFolderActionFactory()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExtensionList<TransientFolderActionFactory>
all()
Deprecated.Returns all the registeredTransientFolderActionFactory
s.abstract Collection<? extends Action>
createFor(Folder target)
Deprecated.Creates actions for the given project.
-
-
-
Method Detail
-
createFor
public abstract Collection<? extends Action> createFor(Folder target)
Deprecated.Creates actions for the given project.- Parameters:
target
- The project for which the action objects are requested. Never null.- Returns:
- Can be empty but must not be null.
-
all
public static ExtensionList<TransientFolderActionFactory> all()
Deprecated.Returns all the registeredTransientFolderActionFactory
s.- Returns:
- all the registered
TransientFolderActionFactory
s.
-
-