Package com.atlassian.bitbucket.scm
Class AbstractCommitCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.AbstractCommitCommandParameters
- Direct Known Subclasses:
BlameCommandParameters
,CommitCommandParameters
,DirectoryCommandParameters
,FileCommandParameters
,LastModifiedCommandParameters
,RawFileCommandParameters
,SizeCommandParameters
,TypeCommandParameters
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AbstractCommitCommandParameters.AbstractCommitParametersBuilder<B extends AbstractCommitCommandParameters.AbstractCommitParametersBuilder<B>>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCommitCommandParameters
(AbstractCommitCommandParameters.AbstractCommitParametersBuilder<?> builder) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
AbstractCommitCommandParameters
protected AbstractCommitCommandParameters(AbstractCommitCommandParameters.AbstractCommitParametersBuilder<?> builder)
-
-
Method Details
-
getCommitId
-
getPath
-
hasPath
public boolean hasPath()
-