public interface

MinimalChangeset

com.atlassian.stash.content.MinimalChangeset
Known Indirect Subclasses

Class Overview

A minimal changeset, defining only identifier information.

Summary

Fields
public static final Function<? super MinimalChangeset, String> TO_ID Retrieve the id of a given changeset.
Public Methods
String getDisplayId()
An identifier for this changeset suitable for display to end users.
String getId()
An identifier for this changeset which may be passed to the system in order to retrieve more information related to it.

Fields

public static final Function<? super MinimalChangeset, String> TO_ID

Retrieve the id of a given changeset.

See Also

Public Methods

public String getDisplayId ()

An identifier for this changeset suitable for display to end users.

No guarantees are made as to how this identifier differs from getId()--they may be identical or not, at the whim of the underlying SCM implementation. In practise, however, the returned identifier should be sensible for users familiar with the underlying SCM.

Returns
  • a display ID

public String getId ()

An identifier for this changeset which may be passed to the system in order to retrieve more information related to it.

Returns
  • a changeset identifier