|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.plugins.darcs.cmd.DarcsBaseCommandBuilder
org.jenkinsci.plugins.darcs.cmd.DarcsGetBuilder
public class DarcsGetBuilder
Builder for `darcs get` command. Example: `darcs get FROM TO`
| Field Summary | |
|---|---|
private static String |
COMMAND
Darcs subcommand. |
private String |
from
From where to get. |
private String |
to
To where to get. |
| Constructor Summary | |
|---|---|
DarcsGetBuilder(String darcsExe)
Initializes the DarcsBaseCommandBuilder.command with "get". |
|
| Method Summary | |
|---|---|
DarcsCommand |
create()
Create the parameterized command object. |
DarcsGetBuilder |
from(String location)
From where to get the repository. |
DarcsGetBuilder |
to(String location)
To where the repository will be checked out. |
| Methods inherited from class org.jenkinsci.plugins.darcs.cmd.DarcsBaseCommandBuilder |
|---|
createArgumentList, getDarcsExe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String COMMAND
private String from
private String to
| Constructor Detail |
|---|
DarcsGetBuilder(String darcsExe)
DarcsBaseCommandBuilder.command with "get".
darcsExe - name of Darcs executable, e.g. "darcs" or "/usr/local/bin/darcs"| Method Detail |
|---|
public DarcsGetBuilder from(String location)
location - file or URI
IllegalArgumentException - if location is null or empty
CHECKSTYLE:ONpublic DarcsGetBuilder to(String location)
location - file path
IllegalArgumentException - if location is null
CHECKSTYLE:ONpublic DarcsCommand create()
DarcsCommandCreator
create in interface DarcsCommandCreator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||