TransientActionFactory
on Folder
instead.@Deprecated public abstract class TransientFolderActionFactory extends Object implements ExtensionPoint
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.
Action
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
TransientFolderActionFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionList<TransientFolderActionFactory> |
all()
Deprecated.
Returns all the registered
TransientFolderActionFactory s. |
abstract Collection<? extends Action> |
createFor(Folder target)
Deprecated.
Creates actions for the given project.
|
public abstract Collection<? extends Action> createFor(Folder target)
target
- The project for which the action objects are requested. Never null.public static ExtensionList<TransientFolderActionFactory> all()
TransientFolderActionFactory
s.TransientFolderActionFactory
s.Copyright © 2016–2020. All rights reserved.