@Deprecated public class

AbstractChangesetCommandParameters

extends AbstractCommandParameters
java.lang.Object
   ↳ com.atlassian.stash.util.BuilderSupport
     ↳ com.atlassian.stash.scm.AbstractCommandParameters
       ↳ com.atlassian.stash.scm.AbstractChangesetCommandParameters
Known Direct Subclasses
Known Indirect Subclasses

This class is deprecated.
in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Parameter classes should use AbstractCommitCommandParameters instead.

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 AbstractChangesetCommandParameters.AbstractBuilder<B extends AbstractBuilder<B>>  
[Expand]
Inherited Fields
From class com.atlassian.stash.util.BuilderSupport
Protected Constructors
AbstractChangesetCommandParameters(AbstractBuilder<?> builder)
@Deprecated AbstractChangesetCommandParameters(String changesetId, String path)
This constructor is deprecated. in 3.11 for removal in 4.0. Use AbstractChangesetCommandParameters(AbstractBuilder) instead.
Public Methods
@Nonnull String getChangesetId()
@Nullable String getPath()
boolean hasPath()
[Expand]
Inherited Methods
From class com.atlassian.stash.util.BuilderSupport
From class java.lang.Object

Protected Constructors

protected AbstractChangesetCommandParameters (AbstractBuilder<?> builder)

Parameters
builder the builder to initialize from

@Deprecated protected AbstractChangesetCommandParameters (String changesetId, String path)

This constructor is deprecated.
in 3.11 for removal in 4.0. Use AbstractChangesetCommandParameters(AbstractBuilder) instead.

Parameters
changesetId the commit ID for the command, which must be non-null
path the path for the command, which may be null

Public Methods

@Nonnull public String getChangesetId ()

@Nullable public String getPath ()

public boolean hasPath ()