Class CurrentRevision

    • Constructor Detail

      • CurrentRevision

        public CurrentRevision()
    • Method Detail

      • setRevision

        public void setRevision​(String revision)

        The revision ID of the current version of an artifact.

        Parameters:
        revision - The revision ID of the current version of an artifact.
      • getRevision

        public String getRevision()

        The revision ID of the current version of an artifact.

        Returns:
        The revision ID of the current version of an artifact.
      • withRevision

        public CurrentRevision withRevision​(String revision)

        The revision ID of the current version of an artifact.

        Parameters:
        revision - The revision ID of the current version of an artifact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChangeIdentifier

        public void setChangeIdentifier​(String changeIdentifier)

        The change identifier for the current revision.

        Parameters:
        changeIdentifier - The change identifier for the current revision.
      • getChangeIdentifier

        public String getChangeIdentifier()

        The change identifier for the current revision.

        Returns:
        The change identifier for the current revision.
      • withChangeIdentifier

        public CurrentRevision withChangeIdentifier​(String changeIdentifier)

        The change identifier for the current revision.

        Parameters:
        changeIdentifier - The change identifier for the current revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object