public class EditFileCommandParameters extends AbstractCommandParameters
editing
a file.Modifier and Type | Class and Description |
---|---|
static class |
EditFileCommandParameters.Builder |
NOT_BLANK
Constructor and Description |
---|
EditFileCommandParameters(EditFileCommandParameters.Builder builder) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
getAuthor() |
Optional<Branch> |
getBranch() |
ApplicationUser |
getCommitter() |
InputSupplier<InputStream> |
getContent() |
String |
getMessage() |
String |
getPath() |
Optional<String> |
getSourceCommitId() |
String |
getTargetBranch() |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public EditFileCommandParameters(EditFileCommandParameters.Builder builder)
@Nonnull public ApplicationUser getAuthor()
@Nonnull public Optional<Branch> getBranch()
@Nonnull public ApplicationUser getCommitter()
@Nonnull public InputSupplier<InputStream> getContent()
Copyright © 2022 Atlassian. All rights reserved.