public class AbstractChangesCommandParameters extends AbstractCommandParameters
Modifier and Type | Class and Description |
---|---|
static class |
AbstractChangesCommandParameters.AbstractBuilder<B extends AbstractChangesCommandParameters.AbstractBuilder<B>> |
NOT_BLANK
Modifier | Constructor and Description |
---|---|
protected |
AbstractChangesCommandParameters(AbstractChangesCommandParameters.AbstractBuilder<?> builder) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxChanges() |
Set<String> |
getPaths() |
boolean |
hasPaths() |
protected ChangeContext |
toContext(ChangeContext.Builder builder)
Appends common attributes to the provided
ChangeContext.Builder before
building it and returning the final ChangeContext . |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
protected AbstractChangesCommandParameters(AbstractChangesCommandParameters.AbstractBuilder<?> builder)
builder
- a builder containing the assembled parameterspublic int getMaxChanges()
public boolean hasPaths()
@Nonnull protected ChangeContext toContext(@Nonnull ChangeContext.Builder builder)
ChangeContext.Builder
before
building it and returning the final ChangeContext
.builder
- the starting builder to apply common attributes to before buildingChangeContext
from the provided builderCopyright © 2019 Atlassian. All rights reserved.