public class ApplyCommand extends GitCommand<ApplyResult>
repo
Modifier and Type | Method and Description |
---|---|
ApplyResult |
call() |
ApplyCommand |
setPatch(InputStream in)
Set patch
|
checkCallable, getRepository, setCallable
public ApplyCommand setPatch(InputStream in)
in
- the patch to applypublic ApplyResult call() throws GitAPIException, PatchFormatException, PatchApplyException
Execute the command
Executes the ApplyCommand
command with all the options and
parameters collected by the setter methods (e.g.
setPatch(InputStream)
of this class. Each instance of this class
should only be used for one invocation of the command. Don't call this
method twice on an instance.
call
in interface Callable<ApplyResult>
call
in class GitCommand<ApplyResult>
GitAPIException
PatchFormatException
PatchApplyException
Copyright © 2019 Eclipse JGit Project. All rights reserved.