hudson.plugins.parameterizedtrigger
Class BuildTriggerConfig

java.lang.Object
  extended by hudson.plugins.parameterizedtrigger.BuildTriggerConfig
All Implemented Interfaces:
hudson.model.Describable<BuildTriggerConfig>
Direct Known Subclasses:
FileBuildTriggerConfig, PredefinedPropertiesBuildTriggerConfig

public abstract class BuildTriggerConfig
extends java.lang.Object
implements hudson.model.Describable<BuildTriggerConfig>


Field Summary
protected  java.lang.String batchCondition
           
protected  java.lang.String projectsValue
           
 
Constructor Summary
BuildTriggerConfig()
           
 
Method Summary
protected static void addDefaultParameters(hudson.model.AbstractProject project, java.util.List<hudson.model.ParameterValue> parametersValues, hudson.model.BuildListener listener)
           
protected  boolean checkBatchCondition(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 java.lang.String getBatchCondition()
           
 hudson.model.Descriptor<BuildTriggerConfig> getDescriptor()
           
protected static java.lang.String resolveParametersInString(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, java.lang.String input)
           
abstract  void trigger(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

projectsValue

protected java.lang.String projectsValue

batchCondition

protected java.lang.String batchCondition
Constructor Detail

BuildTriggerConfig

public BuildTriggerConfig()
Method Detail

trigger

public abstract void trigger(hudson.model.AbstractBuild<?,?> build,
                             hudson.Launcher launcher,
                             hudson.model.BuildListener listener)
                      throws java.io.IOException,
                             java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

resolveParametersInString

protected static java.lang.String resolveParametersInString(hudson.model.AbstractBuild<?,?> build,
                                                            hudson.model.BuildListener listener,
                                                            java.lang.String input)

checkBatchCondition

protected boolean checkBatchCondition(hudson.model.AbstractBuild<?,?> build,
                                      hudson.Launcher launcher,
                                      hudson.model.BuildListener listener)

addDefaultParameters

protected static void addDefaultParameters(hudson.model.AbstractProject project,
                                           java.util.List<hudson.model.ParameterValue> parametersValues,
                                           hudson.model.BuildListener listener)

getBatchCondition

public java.lang.String getBatchCondition()

getDescriptor

public hudson.model.Descriptor<BuildTriggerConfig> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<BuildTriggerConfig>


Copyright © 2009. All Rights Reserved.