Class CherryPickCommand

  • All Implemented Interfaces:
    java.util.concurrent.Callable<CherryPickResult>

    public class CherryPickCommand
    extends GitCommand<CherryPickResult>
    A class used to execute a cherry-pick command. It has setters for all supported options and arguments of this command and a call() method to finally execute the command. Each instance of this class should only be used for one invocation of the command (means: one call to call())
    See Also:
    Git documentation about cherry-pick
    • Field Detail

      • reflogPrefix

        private java.lang.String reflogPrefix
      • commits

        private java.util.List<Ref> commits
      • ourCommitName

        private java.lang.String ourCommitName
      • mainlineParentNumber

        private java.lang.Integer mainlineParentNumber
      • noCommit

        private boolean noCommit
    • Constructor Detail

      • CherryPickCommand

        protected CherryPickCommand​(Repository repo)
        Constructor for CherryPickCommand
        Parameters:
        repo - the Repository