Class AbstractBuildAndEnvironmentInfo

  • Direct Known Subclasses:
    BuildAndEnvironmentInfo

    public abstract class AbstractBuildAndEnvironmentInfo
    extends java.lang.Object
    Abstract of all classes providing build and environment information.

    Does not depend on any library jar files.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getApplicationName()  
      java.lang.String getCPUArchitecture()  
      java.util.List<java.lang.String> getEnvironmentInfo()
      Returns version, build number, Java VM, and OS as a List with four entries.
      java.lang.String getFullVersion()
      Returns the version accompanied by the build number of the software (if known).
      java.lang.String getJavaVM()  
      java.lang.String getOS()  
      java.lang.String getRevision()  
      java.lang.String getVersion()  
      boolean isCleanSources()  
      java.lang.String toString()
      Returns version, build number, Java VM, and OS in a four-liner as one String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractBuildAndEnvironmentInfo

        protected AbstractBuildAndEnvironmentInfo​(java.lang.String applicationName)
    • Method Detail

      • getCPUArchitecture

        public final java.lang.String getCPUArchitecture()
        Returns:
        Name of the CPU architecture.
      • getOS

        public final java.lang.String getOS()
        Returns:
        Name and version of the operating system.
      • getJavaVM

        public final java.lang.String getJavaVM()
        Returns:
        Name and version of the Java Virtual Machine.
      • getVersion

        public final java.lang.String getVersion()
        Returns:
        The version of the software.
      • isCleanSources

        public final boolean isCleanSources()
        Returns:
        true if the versioned entities of the working copy have been clean when this build has been made, in other words, whether the revision given by getRevision() does really identify the source that is build has been produced from.
      • getRevision

        public final java.lang.String getRevision()
        Returns:
        The revision number.
      • getFullVersion

        public final java.lang.String getFullVersion()
        Returns the version accompanied by the build number of the software (if known).
      • getApplicationName

        public java.lang.String getApplicationName()
      • getEnvironmentInfo

        public final java.util.List<java.lang.String> getEnvironmentInfo()
        Returns version, build number, Java VM, and OS as a List with four entries.
      • toString

        public final java.lang.String toString()
        Returns version, build number, Java VM, and OS in a four-liner as one String.
        Overrides:
        toString in class java.lang.Object