|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aludratest.service.gitclient.GitClient
public class GitClient
Provides access to a git command line client using the CommandLineService
.
Constructor Summary | |
---|---|
GitClient(CommandLineService service)
|
|
GitClient(CommandLineService service,
int processTimeout,
int responseTimeout)
|
Method Summary | |
---|---|
GitClient |
add(AddData data)
Adds files to the index |
GitClient |
checkout(CheckoutData data)
Checks out a branch or paths to the working tree. |
GitClient |
cloneRepository(CloneRepositoryData data)
Clones a repository into a new directory. |
GitClient |
commit(CommitData data)
Records changes to the repository. |
GitClient |
config(ConfigData data)
Calls git's config feature. |
GitClient |
createBranch(BranchCreationData data)
Creates a branch. |
GitClient |
deleteBranch(BranchDeletionData data)
Deletes a branch. |
GitClient |
fetch(FetchData data)
Downloads objects and refs from another repository. |
String |
getBaseDirectory()
|
GitClient |
getCurrentBranch(StringData data)
Provides the name of the current branch. |
StringData |
getRelativeWorkingDirectory()
Returns the working directory of the process. |
GitClient |
init()
Creates an empty git repository or reinitializes an existing one. |
GitClient |
invokeGenerically(InvocationData data)
Provides individually parameterized git invocations. |
GitClient |
listBranches(BranchListData data)
Lists branches. |
GitClient |
log(LogData data)
Provides the git log. |
GitClient |
merge(MergeData data)
Join two or more development histories together. |
GitClient |
mv(MvData data)
Moves or renames a file, directory, or symlink |
GitClient |
pull(PullData data)
Fetches from and merges with another repository or a local branch |
GitClient |
push(PushData data)
Updates remote refs along with associated objects. |
GitClient |
rebase(RebaseData data)
Forward-ports local commits to the updated upstream head. |
GitClient |
resetHard(ResetData data)
Resets the current HEAD to the specified state. |
GitClient |
resetMixed(ResetData data)
Resets the current HEAD to the specified state. |
GitClient |
resetSoft(ResetData data)
Resets the current HEAD to the specified state. |
GitClient |
rm(RmData data)
Removes files from the working tree and from the index. |
GitClient |
setRelativeWorkingDirectory(StringData relativeWorkingDirectory)
Sets the working directory. |
GitClient |
stashPop()
Puts back previously stashed contents to the workspace. |
GitClient |
stashSave()
Saves the workspace to the stash. |
GitClient |
status(StatusData data)
Provides the status. |
GitClient |
verifyState()
Verifies the state. |
GitClient |
version(VersionData data)
Queries the git client for its version number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GitClient(CommandLineService service)
service
- public GitClient(CommandLineService service, int processTimeout, int responseTimeout)
service
- processTimeout
- responseTimeout
- Method Detail |
---|
public StringData getRelativeWorkingDirectory()
public GitClient setRelativeWorkingDirectory(StringData relativeWorkingDirectory)
relativeWorkingDirectory
- the workingDirectory to set.
public String getBaseDirectory()
public GitClient config(ConfigData data)
data
- the settings to apply
public GitClient version(VersionData data)
data
- an instance of the data class that receives the query result
public GitClient status(StatusData data)
data
-
public GitClient log(LogData data)
data
-
public GitClient add(AddData data)
data
-
public GitClient getCurrentBranch(StringData data)
data
- a StringData object that receives the operations result
public GitClient listBranches(BranchListData data)
data
-
public GitClient createBranch(BranchCreationData data)
data
-
public GitClient deleteBranch(BranchDeletionData data)
data
-
public GitClient checkout(CheckoutData data)
data
-
public GitClient cloneRepository(CloneRepositoryData data)
data
-
public GitClient commit(CommitData data)
data
-
public GitClient fetch(FetchData data)
data
-
public GitClient init()
public GitClient merge(MergeData data)
data
-
public GitClient mv(MvData data)
data
-
public GitClient pull(PullData data)
data
-
public GitClient push(PushData data)
data
-
public GitClient rebase(RebaseData data)
data
-
public GitClient resetSoft(ResetData data)
data
-
public GitClient resetMixed(ResetData data)
data
-
public GitClient resetHard(ResetData data)
data
-
public GitClient rm(RmData data)
data
-
public GitClient stashSave()
public GitClient stashPop()
public GitClient invokeGenerically(InvocationData data)
data
- the invocation data
public GitClient verifyState()
ActionWordLibrary
GUIInteraction.wrongPageFlow(String)
verifyState
in interface ActionWordLibrary<GitClient>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |