|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.persister.file.VersionStamper
public class VersionStamper
This class privides and stores an application version
Constructor Summary | |
---|---|
VersionStamper(File buildDirectory,
File xmlDataDirectory)
Create a version stamp/detector to use the configured build directory |
Method Summary | |
---|---|
File |
getBuildDirectory()
|
File |
getDataDirectory()
|
int |
getVersion()
Obtains the current version from the version stamp file. |
void |
saveVersion()
Save the current version |
void |
setBuildDir(File buildDir)
|
void |
setDataDirectory(File dataDirectory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionStamper(File buildDirectory, File xmlDataDirectory)
Method Detail |
---|
public void saveVersion()
public int getVersion()
public void setBuildDir(File buildDir)
public void setDataDirectory(File dataDirectory)
public File getBuildDirectory()
public File getDataDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |