org.jenkinsci.plugins.darcs.cmd
Class DarcsGetBuilder

java.lang.Object
  extended by org.jenkinsci.plugins.darcs.cmd.DarcsGetBuilder
All Implemented Interfaces:
DarcsCommandCreator

public class DarcsGetBuilder
extends Object
implements DarcsCommandCreator

Builder for `darcs get` command. Example: `darcs get FROM TO`

Author:
Sven Strittmatter

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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

from

public DarcsGetBuilder from(String location)
From where to get the repository.

Parameters:
location - file or URI
Returns:
the builder itself CHECKSTYLE:OFF
Throws:
IllegalArgumentException - if location is null or empty CHECKSTYLE:ON

to

public DarcsGetBuilder to(String location)
To where the repository will be checked out.

Parameters:
location - file path
Returns:
the builder itself CHECKSTYLE:OFF
Throws:
IllegalArgumentException - if location is null CHECKSTYLE:ON

create

public DarcsCommand create()
Description copied from interface: DarcsCommandCreator
Create the parameterized command object.

Specified by:
create in interface DarcsCommandCreator
Returns:
creates always new instance


Copyright © 2004-2013 weltraumschaf.de. All Rights Reserved.