hudson.notify
Class BuildNumberSychronize

java.lang.Object
  extended by hudson.notify.BuildNumberSychronize
Direct Known Subclasses:
HundredTimesBuildNumberSychronize, SameBuildNumberSychronize, TenTimesBuildNumberSychronize

public abstract class BuildNumberSychronize
extends Object

Author:
tang

Constructor Summary
BuildNumberSychronize(hudson.model.AbstractBuild<?,?> upstrambuild, hudson.model.BuildListener listener)
           
 
Method Summary
 void downstreamProjectClear(int nextDownStreamBuildNumber, hudson.model.AbstractProject downstreamProject)
          This is a hook before updateNextBuildNumber
 hudson.model.BuildListener getListener()
           
 void sychronizeBuildNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildNumberSychronize

public BuildNumberSychronize(hudson.model.AbstractBuild<?,?> upstrambuild,
                             hudson.model.BuildListener listener)
Method Detail

getListener

public hudson.model.BuildListener getListener()

sychronizeBuildNumber

public void sychronizeBuildNumber()
                           throws Exception
Throws:
Exception

downstreamProjectClear

public void downstreamProjectClear(int nextDownStreamBuildNumber,
                                   hudson.model.AbstractProject downstreamProject)
                            throws IOException
This is a hook before updateNextBuildNumber

Parameters:
nextDownStreamBuildNumber -
downstreamProject -
Throws:
IOException


Copyright © 2004-2012 Hudson. All Rights Reserved.