org.aludratest.service.gitclient.data
Class CloneRepositoryData

java.lang.Object
  extended by org.aludratest.dict.Data
      extended by org.aludratest.service.gitclient.data.AbstractGitData
          extended by org.aludratest.service.gitclient.data.CloneRepositoryData

public class CloneRepositoryData
extends AbstractGitData

Wraps data for the invocation of the GitClient's clone method.

Author:
Volker Bergmann
See Also:
GitClient#clone(CloneRepositoryData)

Constructor Summary
CloneRepositoryData()
          Public default constructor.
CloneRepositoryData(String repository)
          Convenience constructor.
CloneRepositoryData(String repository, String directory)
          Fully parameterized constructor.
 
Method Summary
 String getDirectory()
          Returns the target directory in which to store the clone.
 String getRepository()
          Returns the repository.
 void setDirectory(String directory)
          Sets the target directory in which to store the clone.
 void setRepository(String repository)
          Sets the repository.
 
Methods inherited from class org.aludratest.dict.Data
buildDescriptionString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneRepositoryData

public CloneRepositoryData()
Public default constructor.


CloneRepositoryData

public CloneRepositoryData(String repository)
Convenience constructor.

Parameters:
repository -

CloneRepositoryData

public CloneRepositoryData(String repository,
                           String directory)
Fully parameterized constructor.

Parameters:
repository - the source repository to clone
directory - the target directory in which to store the clone
Method Detail

getRepository

public String getRepository()
Returns the repository.

Returns:
the repository

setRepository

public void setRepository(String repository)
Sets the repository.

Parameters:
repository - the repository to set

getDirectory

public String getDirectory()
Returns the target directory in which to store the clone.

Returns:
the target directory in which to store the clone

setDirectory

public void setDirectory(String directory)
Sets the target directory in which to store the clone.

Parameters:
directory - the target directory in which to store the clone


Copyright © 2015 aludratest.org. All rights reserved.