hudson.model
Class TransientBuildActionFactory

java.lang.Object
  extended by hudson.model.TransientBuildActionFactory
All Implemented Interfaces:
ExtensionPoint

public abstract class TransientBuildActionFactory
extends Object
implements ExtensionPoint

Extension point for inserting transient Actions into Runs. To register your implementation, put Extension on your subtype.

Since:
1.458
Author:
Lucie Votypkova
See Also:
Action

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
TransientBuildActionFactory()
           
 
Method Summary
static ExtensionList<TransientBuildActionFactory> all()
          Returns all the registered TransientBuildActionFactorys.
 Collection<? extends Action> createFor(AbstractBuild target)
          Deprecated. as of 1.461 Override and call createFor(Run) instead.
 Collection<? extends Action> createFor(Run target)
          Creates actions for the given build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientBuildActionFactory

public TransientBuildActionFactory()
Method Detail

createFor

public Collection<? extends Action> createFor(Run target)
Creates actions for the given build.

Parameters:
target - for which the action objects are requested. Never null.
Returns:
Can be empty but must not be null.

createFor

public Collection<? extends Action> createFor(AbstractBuild target)
Deprecated. as of 1.461 Override and call createFor(Run) instead.


all

public static ExtensionList<TransientBuildActionFactory> all()
Returns all the registered TransientBuildActionFactorys.



Copyright © 2004-2013. All Rights Reserved.