Class JarRevision

java.lang.Object
overit.geocall.util.JarRevision

public class JarRevision extends Object
Utility to keep trace of jar revisions files and maintain a cache of the content
  • Field Details

    • _jars

      protected static ArrayList<JarRevision> _jars
    • _projectName

      protected String _projectName
    • _projectVersion

      protected String _projectVersion
    • _versionLabel

      protected String _versionLabel
    • _projectUrl

      protected String _projectUrl
    • _buildDate

      protected String _buildDate
    • _buildRevs

      protected String _buildRevs
    • _buildNum

      protected String _buildNum
  • Constructor Details

    • JarRevision

      public JarRevision(Attributes attributes)
      Creates an instance of JarRevision with some attributes
      Parameters:
      attributes - The attributes to set
  • Method Details

    • getProjectName

      public String getProjectName()
      Returns the project name
      Returns:
      The project name
    • getProjectVersion

      public String getProjectVersion()
      Returns the project version
      Returns:
      The project version
    • getVersionLabel

      public String getVersionLabel()
      Returns a String about the version label.
      Returns:
      a String about the version label.
    • getProjectUrl

      public String getProjectUrl()
      Returns the project url
      Returns:
      The project url
    • getBuildDate

      public String getBuildDate()
      Returns the build date
      Returns:
      The build date
    • getBuildRevs

      public String getBuildRevs()
      Returns the build revision
      Returns:
      The build revision
    • getBuildNum

      public String getBuildNum()
      Returns the build number
      Returns:
      The build number
    • getJarNumber

      public static int getJarNumber()
      Returns the jar number
      Returns:
      The jar number
    • getJar

      public static JarRevision getJar(int i)
      Returns a jar in a determined position
      Parameters:
      i - The position of the jar
      Returns:
      The JarRevision in that position