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.
Extension point for inserting transient
Action
s into Folder
s.
Actions contributed to Folder
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 under AbstractItem.getRootDir()
.
To register your implementation, put @Extension
on your subtype.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
Deprecated.Returns all the registeredTransientFolderActionFactory
s.abstract Collection<? extends Action>
Deprecated.Creates actions for the given project.
-
Constructor Details
-
TransientFolderActionFactory
public TransientFolderActionFactory()Deprecated.
-
-
Method Details
-
createFor
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
Deprecated.Returns all the registeredTransientFolderActionFactory
s.- Returns:
- all the registered
TransientFolderActionFactory
s.
-
TransientActionFactory
onFolder
instead.