All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.gerrit.extensions.api.changes.RebaseInput Maven / Gradle / Ivy

There is a newer version: 3.10.0-rc6
Show newest version
// Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.google.gerrit.extensions.api.changes;

import java.util.Map;

public class RebaseInput {
  public String base;

  /**
   * Whether the rebase should succeed if there are conflicts.
   *
   * 

If there are conflicts the file contents of the rebased change contain git conflict markers * to indicate the conflicts. */ public boolean allowConflicts; /** * Whether the rebase should be done on behalf of the uploader. * *

This means the uploader of the current patch set will also be the uploader of the rebased * patch set. The calling user will be recorded as the real user. * *

Rebasing on behalf of the uploader is only supported for trivial rebases. This means this * option cannot be combined with the {@link #allowConflicts} option. * *

In addition, rebasing on behalf of the uploader is only supported for the current patch set * of a change and not when rebasing a chain. * *

Using this option is not supported when rebasing a chain via the Rebase Chain REST endpoint. */ public boolean onBehalfOfUploader; public Map validationOptions; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy