public class

AbstractCommitCommandParameters

extends AbstractCommandParameters
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.scm.AbstractCommandParameters
       ↳ com.atlassian.bitbucket.scm.AbstractCommitCommandParameters
Known Direct Subclasses

Class Overview

A base class for constructing CommandParameters classes for commands which operate on a specific commit, optionally qualified to a specific path.

What the commit and path mean to the end command may vary widely. Derived classes will document those meanings. Extending from this base class implies no contract beyond that:

  • The commit will never be null
  • The path may be null unless documented otherwise by the derived class

Summary

Nested Classes
class AbstractCommitCommandParameters.AbstractCommitParametersBuilder<B extends AbstractCommitParametersBuilder<B>>  
[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Protected Constructors
AbstractCommitCommandParameters(AbstractCommitParametersBuilder<?> builder)
Public Methods
@Nonnull String getCommitId()
@Nullable String getPath()
boolean hasPath()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Protected Constructors

protected AbstractCommitCommandParameters (AbstractCommitParametersBuilder<?> builder)

Public Methods

@Nonnull public String getCommitId ()

@Nullable public String getPath ()

public boolean hasPath ()