Class EditFileCommandParameters


public class EditFileCommandParameters extends AbstractCommandParameters
Parameters for editing a file.
Since:
4.13
  • Constructor Details

  • Method Details

    • getAuthor

      @Nonnull public ApplicationUser getAuthor()
    • getBranch

      @Nonnull public Optional<Branch> getBranch()
      Returns:
      the branch from which the file edit should be performed
    • getCommitter

      @Nonnull public ApplicationUser getCommitter()
      Since:
      7.13
    • getContent

      @Nonnull public InputSupplier<InputStream> getContent()
    • getMessage

      @Nonnull public String getMessage()
    • getPath

      @Nonnull public String getPath()
    • getSourceCommitId

      @Nonnull public Optional<String> getSourceCommitId()
    • getTargetBranch

      @Nonnull public String getTargetBranch()
      Returns:
      the name of the target branch
      Since:
      5.2