|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.api.GitCommand<ApplyResult>
org.eclipse.jgit.api.ApplyCommand
public class ApplyCommand
Apply a patch to files and/or to the index.
Field Summary |
---|
Fields inherited from class org.eclipse.jgit.api.GitCommand |
---|
repo |
Method Summary | |
---|---|
ApplyResult |
call()
Executes the ApplyCommand command with all the options and
parameters collected by the setter methods (e.g. |
ApplyCommand |
setPatch(java.io.InputStream in)
|
Methods inherited from class org.eclipse.jgit.api.GitCommand |
---|
checkCallable, getRepository, setCallable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ApplyCommand setPatch(java.io.InputStream in)
in
- the patch to apply
public 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 java.util.concurrent.Callable<ApplyResult>
call
in class GitCommand<ApplyResult>
ApplyResult
object representing the command result
GitAPIException
PatchFormatException
PatchApplyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |