Interface Git

All Superinterfaces:
Constants, Localizable, Localizable, LocalizableResource

public interface Git extends Constants
The interface to provide access to the Git.properties file.
Author:
Christoph Hauert
  • Field Details

    • INSTANCE

      static final Git INSTANCE
      'Instantiate' the interface.
  • Method Details

    • gitDate

      Returns the time of the last git commit formatted as a string.
      Returns:
      the time of the last git commit
    • gitVersion

      @DefaultStringValue("unknown") String gitVersion()
      Returns the id (short SHA hash) of the last git commit formatted as a string. If there are local changes the id is marked as 'dirty' with an asterisk '*'.
      Returns:
      the id of the last git commit