org.jvnet.hudson.plugins.triggers.startup
Class HudsonStartupTrigger

java.lang.Object
  extended by hudson.triggers.Trigger<hudson.model.BuildableItem>
      extended by org.jvnet.hudson.plugins.triggers.startup.HudsonStartupTrigger
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>

public class HudsonStartupTrigger
extends hudson.triggers.Trigger<hudson.model.BuildableItem>

Triggers a build when Hudson first starts

Author:
Ash Lux

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.triggers.Trigger
hudson.triggers.Trigger.Cron
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static HudsonStartupDescriptor DESCRIPTOR
           
 
Fields inherited from class hudson.triggers.Trigger
job, spec, tabs, timer
 
Constructor Summary
HudsonStartupTrigger()
           
 
Method Summary
 void start(hudson.model.BuildableItem project, boolean newInstance)
           
 
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getDescriptor, getProjectAction, getSpec, init, readResolve, run, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final HudsonStartupDescriptor DESCRIPTOR
Constructor Detail

HudsonStartupTrigger

public HudsonStartupTrigger()
Method Detail

start

public void start(hudson.model.BuildableItem project,
                  boolean newInstance)
Overrides:
start in class hudson.triggers.Trigger<hudson.model.BuildableItem>


Copyright © 2009. All Rights Reserved.