|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.api.GitCommand<Status>
org.eclipse.jgit.api.StatusCommand
public class StatusCommand
A class used to execute a Status
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()
)
Field Summary |
---|
Fields inherited from class org.eclipse.jgit.api.GitCommand |
---|
repo |
Constructor Summary | |
---|---|
protected |
StatusCommand(Repository repo)
|
Method Summary | |
---|---|
Status |
call()
Executes the Status command with all the options and parameters
collected by the setter methods of this class. |
StatusCommand |
setWorkingTreeIt(WorkingTreeIterator workingTreeIt)
To set the WorkingTreeIterator which should be used. |
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 |
Constructor Detail |
---|
protected StatusCommand(Repository repo)
repo
- Method Detail |
---|
public Status call() throws GitAPIException, NoWorkTreeException
Status
command with all the options and parameters
collected by the setter methods 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<Status>
call
in class GitCommand<Status>
Status
object telling about each path where working
tree, index or HEAD differ from each other.
GitAPIException
- or subclass thereof when an error occurs
NoWorkTreeException
public StatusCommand setWorkingTreeIt(WorkingTreeIterator workingTreeIt)
WorkingTreeIterator
which should be used. If this
method is not called a standard FileTreeIterator
is used.
workingTreeIt
- a working tree iterator
this
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |