|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.api.GitCommand<DirCache>
org.eclipse.jgit.api.RmCommand
public class RmCommand
A class used to execute a Rm
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 | |
---|---|
RmCommand(Repository repo)
|
Method Summary | |
---|---|
RmCommand |
addFilepattern(java.lang.String filepattern)
|
DirCache |
call()
Executes the Rm command. |
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 |
---|
public RmCommand(Repository repo)
repo
- Method Detail |
---|
public RmCommand addFilepattern(java.lang.String filepattern)
filepattern
- File to remove.
this
public DirCache call() throws NoFilepatternException
Rm
command. Each instance of this class should only
be used for one invocation of the command. Don't call this method twice
on an instance.
NoFilepatternException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |