public interface

GitNotes

com.atlassian.bitbucket.scm.git.command.notes.GitNotes

Class Overview

Decision gate for choosing what git notes subcommand will be executed when the builder is created.

Summary

Public Methods
@Nonnull GitNotesAddBuilder add(String object)
@Nonnull GitNotesRemoveBuilder remove(String object)
@Nonnull GitNotesShowBuilder show(String object)

Public Methods

@Nonnull public GitNotesAddBuilder add (String object)

Parameters
object the object (identified by name or hash) of the object to apply the note to
Returns
  • a builder to add a new note to the specified object

@Nonnull public GitNotesRemoveBuilder remove (String object)

Parameters
object the object (identified by name or hash) of the object to remove the note from
Returns
  • a builder to remove an existing note from the specified object

@Nonnull public GitNotesShowBuilder show (String object)

Parameters
object the object (identified by name or hash) of the object to show the note on
Returns
  • a builder to show an existing note on the specified object