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