public class BuildInfoProperties extends Object implements Serializable
build-info.properties
file.Modifier and Type | Method and Description |
---|---|
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. |
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. |
@Input @Optional public String getGroup()
build.group
property. Defaults to the
Project's group
.public void setGroup(String group)
build.group
property.group
- the group name@Input @Optional public String getArtifact()
build.artifact
property.public void setArtifact(String artifact)
build.artifact
property.artifact
- the artifact@Input @Optional public String getVersion()
build.version
property. Defaults to the
Project's version
.public void setVersion(String version)
build.version
property.version
- the version@Input @Optional public String getName()
build.name
property. Defaults to the
Project's display name
.public void setName(String name)
build.name
property.name
- the name@Input @Optional public 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 time@Input @Optional public Map<String,Object> getAdditional()
build.
.