Class CfrVersionInfo


  • public class CfrVersionInfo
    extends java.lang.Object
    Provides information about the CFR build.

    The information in this class is automatically generated when the project is built.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String GIT_COMMIT_ABBREVIATED
      Abbreviated Git commit hash of the commit representing this state of the project.
      static boolean GIT_IS_DIRTY
      Whether the working tree contained not yet committed changes when the project was built.
      static boolean SNAPSHOT
      Are we a snapshot?
      static java.lang.String VERSION
      CFR version
      static java.lang.String VERSION_INFO
      String consisting of CFR version and Git commit hash
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CfrVersionInfo()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SNAPSHOT

        public static final boolean SNAPSHOT
        Are we a snapshot?
      • GIT_COMMIT_ABBREVIATED

        public static final java.lang.String GIT_COMMIT_ABBREVIATED
        Abbreviated Git commit hash of the commit representing this state of the project.
        See Also:
        Constant Field Values
      • GIT_IS_DIRTY

        public static final boolean GIT_IS_DIRTY
        Whether the working tree contained not yet committed changes when the project was built.

        This information can be useful for error reports to find out if changes have been made.

      • VERSION_INFO

        public static final java.lang.String VERSION_INFO
        String consisting of CFR version and Git commit hash
    • Constructor Detail

      • CfrVersionInfo

        private CfrVersionInfo()