Package org.evoludo.simulator
Interface Git
- All Superinterfaces:
Constants,Localizable,Localizable,LocalizableResource
The interface to provide access to the
Git.properties file.- Author:
- Christoph Hauert
-
Nested Class Summary
Nested classes/interfaces inherited from interface Constants
Constants.DefaultBooleanValue, Constants.DefaultDoubleValue, Constants.DefaultFloatValue, Constants.DefaultIntValue, Constants.DefaultStringArrayValue, Constants.DefaultStringMapValue, Constants.DefaultStringValueNested classes/interfaces inherited from interface LocalizableResource
LocalizableResource.DefaultLocale, LocalizableResource.Description, LocalizableResource.Generate, LocalizableResource.GeneratedFrom, LocalizableResource.GenerateKeys, LocalizableResource.Key, LocalizableResource.Meaning -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongitDate()Returns the time of the last git commit formatted as a string.Returns the id (short SHA hash) of the last git commit formatted as a string.
-
Field Details
-
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
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
-