public class ApplyCommand extends GitCommand<ApplyResult>
repo| Modifier and Type | Method and Description | 
|---|---|
ApplyResult | 
call()
Executes the  
ApplyCommand command with all the options and
 parameters collected by the setter methods (e.g. | 
ApplyCommand | 
setPatch(InputStream in)  | 
checkCallable, getRepository, setCallablepublic ApplyCommand setPatch(InputStream in)
in - the patch to applypublic ApplyResult call() throws GitAPIException, PatchFormatException, PatchApplyException
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>ApplyResult object representing the command resultGitAPIExceptionPatchFormatExceptionPatchApplyExceptionCopyright © 2016 Eclipse JGit Project. All rights reserved.