public class BuildInfoProperties extends Object implements Serializable
build-info.properties
file.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,Object> |
getAdditional()
Returns the additional properties that will be included.
|
String |
getArtifact()
Returns the value used for the
build.artifact property. |
String |
getGroup()
Returns the value used for the
build.group property. |
String |
getName()
Returns the value used for the
build.name property. |
Instant |
getTime()
Returns the value used for the
build.time property. |
String |
getVersion()
Returns the value used for the
build.version property. |
int |
hashCode() |
void |
setAdditional(Map<String,Object> additionalProperties)
Sets the additional properties that will be included.
|
void |
setArtifact(String artifact)
Sets the value used for the
build.artifact property. |
void |
setGroup(String group)
Sets the value used for the
build.group property. |
void |
setName(String name)
Sets the value used for the
build.name property. |
void |
setTime(Instant time)
Sets the value used for the
build.time property. |
void |
setVersion(String version)
Sets the value used for the
build.version property. |
public String getGroup()
build.group
property. Defaults to the
Project's group
.public void setGroup(String group)
build.group
property.group
- the group namepublic String getArtifact()
build.artifact
property.public void setArtifact(String artifact)
build.artifact
property.artifact
- the artifactpublic String getVersion()
build.version
property. Defaults to the
Project's version
.public void setVersion(String version)
build.version
property.version
- the versionpublic String getName()
build.name
property. Defaults to the
Project's display name
.public void setName(String name)
build.name
property.name
- the namepublic Instant getTime()
build.time
property. Defaults to
Instant.now()
when the BuildInfoProperties
instance was created.public void setTime(Instant time)
build.time
property.time
- the build timepublic Map<String,Object> getAdditional()
build.
.public void setAdditional(Map<String,Object> additionalProperties)
build.
.additionalProperties
- the additional properties