public class BuildInfoProperties
extends java.lang.Object
implements java.io.Serializable
build-info.properties file.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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. |
int |
hashCode() |
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. |
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 namepublic java.lang.String getArtifact()
build.artifact property.public void setArtifact(java.lang.String artifact)
build.artifact property.artifact - the artifactpublic 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 versionpublic 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 namepublic 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 timepublic 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 propertiespublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object