public class BuildProperties extends InfoProperties
InfoProperties.Entry
Constructor and Description |
---|
BuildProperties(Properties entries)
Create an instance with the specified entries.
|
Modifier and Type | Method and Description |
---|---|
String |
getArtifact()
Return the artifactId of the project or
null . |
String |
getGroup()
Return the groupId of the project or
null . |
String |
getName()
Return the name of the project or
null . |
Instant |
getTime()
Return the timestamp of the build or
null . |
String |
getVersion()
Return the version of the project or
null . |
get, getInstant, iterator, toPropertySource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public BuildProperties(Properties entries)
entries
- the information to exposepublic String getGroup()
null
.public String getArtifact()
null
.public String getName()
null
.public String getVersion()
null
.public Instant getTime()
null
.
If the original value could not be parsed properly, it is still available with the
time
key.
InfoProperties.get(String)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.