ch.oscg.jreleaseinfo
Class BuildNumberHandler
java.lang.Object
ch.oscg.jreleaseinfo.BuildNumberHandler
- All Implemented Interfaces:
- BuildNumberHandlerIF
- public class BuildNumberHandler
- extends java.lang.Object
- implements BuildNumberHandlerIF
BuildNumberHandler getting the number from a file.
- Version:
- $Revision: 1.3 $ ($Date: 2005/08/06 14:12:36 $ / $Author: tcotting $)
- Author:
- Thomas Cotting, Tangarena Engineering AG, Luzern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_BUILDNUM_LAST
public static final java.lang.String PROPERTY_BUILDNUM_LAST
- Property Name in buildnum file.
- See Also:
- Constant Field Values
BuildNumberHandler
public BuildNumberHandler()
updateBuildNumber
protected java.lang.String updateBuildNumber(int buildNumIncrement)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Main method to keep track of the build number.
- Returns:
- update success true/false
- Throws:
java.io.IOException
- on file errors
java.lang.IllegalArgumentException
- on wrong parameters
getUpdatedBuildNumberProperty
public JReleaseInfoProperty getUpdatedBuildNumberProperty(int buildNumIncrement)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Get the JReleaseInfoProperty with the updated buildNumber.
- Specified by:
getUpdatedBuildNumberProperty
in interface BuildNumberHandlerIF
- Parameters:
buildNumIncrement
- int
- Returns:
- JReleaseInfoProperty
- Throws:
java.lang.IllegalArgumentException
java.io.IOException
setBuildNumFile
public void setBuildNumFile(java.lang.String fileName)
- Set method for the fileName containing the buildnumber.
- Parameters:
fileName
- for build number
Copyright © 2005 Open Source Competence Group (OSCG). All Rights Reserved.