com.atlassian.bamboo.events
Class BuildNumberStamper
java.lang.Object
com.atlassian.bamboo.events.DefaultBuildEventListener
com.atlassian.bamboo.events.BuildNumberStamper
- All Implemented Interfaces:
- BuildEventListener
public class BuildNumberStamper
- extends DefaultBuildEventListener
This class generates a file containing the number of the build.
Method Summary |
void |
onBuildStart(Build build,
long buildNumber)
Be notified when a build build has started
The default behaviour is to do nothing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUILD_STAMP_FILENAME
public static final String BUILD_STAMP_FILENAME
- See Also:
- Constant Field Values
BuildNumberStamper
public BuildNumberStamper()
onBuildStart
public void onBuildStart(Build build,
long buildNumber)
throws Exception
- Description copied from class:
DefaultBuildEventListener
- Be notified when a build build has started
The default behaviour is to do nothing
- Specified by:
onBuildStart
in interface BuildEventListener
- Overrides:
onBuildStart
in class DefaultBuildEventListener
- Parameters:
build
- The build being builtbuildNumber
- The build number
- Throws:
Exception
- A generic failure
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.