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