Class BuildProperties

    • Constructor Detail

      • BuildProperties

        public BuildProperties​(Properties entries)
        Create an instance with the specified entries.
        Parameters:
        entries - the information to expose
    • Method Detail

      • getGroup

        public String getGroup()
        Return the groupId of the project or null.
        Returns:
        the group
      • getArtifact

        public String getArtifact()
        Return the artifactId of the project or null.
        Returns:
        the artifact
      • getName

        public String getName()
        Return the name of the project or null.
        Returns:
        the name
      • getVersion

        public String getVersion()
        Return the version of the project or null.
        Returns:
        the version
      • getTime

        public Instant getTime()
        Return the timestamp of the build or null.

        If the original value could not be parsed properly, it is still available with the time key.

        Returns:
        the build time
        See Also:
        InfoProperties.get(String)