public class BuildProperties extends InfoProperties
InfoProperties.Entry
Constructor and Description |
---|
BuildProperties(java.util.Properties entries)
Create an instance with the specified entries.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifact()
Return the artifactId of the project or
null . |
java.lang.String |
getGroup()
Return the groupId of the project or
null . |
java.lang.String |
getName()
Return the name of the project or
null . |
java.time.Instant |
getTime()
Return the timestamp of the build or
null . |
java.lang.String |
getVersion()
Return the version of the project or
null . |
get, getInstant, iterator, toPropertySource
public BuildProperties(java.util.Properties entries)
entries
- the information to exposepublic java.lang.String getGroup()
null
.public java.lang.String getArtifact()
null
.public java.lang.String getName()
null
.public java.lang.String getVersion()
null
.public java.time.Instant getTime()
null
.
If the original value could not be parsed properly, it is still available with the
time
key.
InfoProperties.get(String)