Package overit.geocall.util
Class JarRevision
java.lang.Object
overit.geocall.util.JarRevision
Utility to keep trace of jar revisions files and maintain a cache of the content
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJarRevision(Attributes attributes) Creates an instance of JarRevision with some attributes -
Method Summary
Modifier and TypeMethodDescriptionReturns the build dateReturns the build numberReturns the build revisionstatic JarRevisiongetJar(int i) Returns a jar in a determined positionstatic intReturns the jar numberReturns the project nameReturns the project urlReturns the project versionReturns aStringabout the version label.
-
Field Details
-
_jars
-
_projectName
-
_projectVersion
-
_versionLabel
-
_projectUrl
-
_buildDate
-
_buildRevs
-
_buildNum
-
-
Constructor Details
-
JarRevision
Creates an instance of JarRevision with some attributes- Parameters:
attributes- The attributes to set
-
-
Method Details
-
getProjectName
Returns the project name- Returns:
- The project name
-
getProjectVersion
Returns the project version- Returns:
- The project version
-
getVersionLabel
Returns aStringabout the version label.- Returns:
- a
Stringabout the version label.
-
getProjectUrl
Returns the project url- Returns:
- The project url
-
getBuildDate
Returns the build date- Returns:
- The build date
-
getBuildRevs
Returns the build revision- Returns:
- The build revision
-
getBuildNum
Returns the build number- Returns:
- The build number
-
getJarNumber
public static int getJarNumber()Returns the jar number- Returns:
- The jar number
-
getJar
Returns a jar in a determined position- Parameters:
i- The position of the jar- Returns:
- The JarRevision in that position
-