- All Implemented Interfaces:
public abstract class TransientProjectActionFactory extends Object implements ExtensionPointExtension point for inserting transient
Actions of projects are primarily determined by
BuildSteps that are associated by configurations, but sometimes it's convenient to be able to add actions across all or many projects, without being invoked through configuration. This extension point provides such a mechanism. Actions of
AbstractProjects are transient — they will not be persisted, and each time Hudson 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
To register your implementation, put
Extensionon your subtype.
Constructors Constructor Description
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description
all()Returns all the registered
abstract Collection<? extends Action>
createFor(AbstractProject target)Creates actions for the given project.
public abstract Collection<? extends Action> createFor(AbstractProject target)Creates actions for the given project.
target- The project for which the action objects are requested. Never null.
- Can be empty but must not be null.