TransientActionFactory
on Folder
instead.@Deprecated public abstract class TransientFolderActionFactory extends Object implements hudson.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
Constructor and Description |
---|
TransientFolderActionFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static hudson.ExtensionList<TransientFolderActionFactory> |
all()
Deprecated.
Returns all the registered
TransientFolderActionFactory s. |
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()
TransientFolderActionFactory
s.Copyright © 2016–2017. All rights reserved.