Package com.atlassian.bitbucket.scm
Class AbstractChangesCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.AbstractChangesCommandParameters
- Direct Known Subclasses:
- ChangesCommandParameters,- CompareChangeCommandParameters,- PullRequestChangesCommandParameters
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classAbstractChangesCommandParameters.AbstractBuilder<B extends AbstractChangesCommandParameters.AbstractBuilder<B>>
- 
Field SummaryFields inherited from class com.atlassian.bitbucket.util.BuilderSupportNOT_BLANK
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotected
- 
Method SummaryModifier and TypeMethodDescriptionintgetPaths()booleanhasPaths()protected ChangeContexttoContext(ChangeContext.Builder builder) Appends common attributes to the providedChangeContext.Builderbefore building it and returning the finalChangeContext.Methods inherited from class com.atlassian.bitbucket.util.BuilderSupportaddIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
- 
Constructor Details- 
AbstractChangesCommandParametersprotected AbstractChangesCommandParameters(AbstractChangesCommandParameters.AbstractBuilder<?> builder) - Parameters:
- builder- a builder containing the assembled parameters
- Since:
- 5.4
 
 
- 
- 
Method Details- 
getMaxChangespublic int getMaxChanges()
- 
getPaths
- 
hasPathspublic boolean hasPaths()
- 
toContextAppends common attributes to the providedChangeContext.Builderbefore building it and returning the finalChangeContext.- Parameters:
- builder- the starting builder to apply common attributes to before building
- Returns:
- the ChangeContextfrom the provided builder
 
 
-