public class ApplyCommand extends GitCommand<ApplyResult>
repo| Modifier and Type | Method and Description |
|---|---|
ApplyResult |
call() |
ApplyCommand |
setPatch(InputStream in)
Set patch
|
checkCallable, getRepository, setCallablepublic 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>GitAPIExceptionPatchFormatExceptionPatchApplyExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.