org.springframework.roo.addon.git
Class GitCommands

java.lang.Object
  extended by org.springframework.roo.addon.git.GitCommands
All Implemented Interfaces:
org.springframework.roo.shell.CommandMarker

@Service
public class GitCommands
extends Object
implements org.springframework.roo.shell.CommandMarker

Commands for addon-git.

Since:
1.1
Author:
Stefan Schmidt

Constructor Summary
GitCommands()
           
 
Method Summary
 void config()
           
 void config(String message)
           
 void config(String userName, String email, String repoUrl, boolean color, Boolean automaticCommit)
           
 boolean isCommandAvailable()
           
 boolean isGitSetupAvailable()
           
 void log(Integer count)
           
 void push()
           
 void resetLast(Integer history, String message)
           
 void revertCommit(String revstr, String message)
           
 void revertLast(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitCommands

public GitCommands()
Method Detail

config

public void config()

config

public void config(String message)

config

public void config(String userName,
                   String email,
                   String repoUrl,
                   boolean color,
                   Boolean automaticCommit)

isCommandAvailable

public boolean isCommandAvailable()

isGitSetupAvailable

public boolean isGitSetupAvailable()

log

public void log(Integer count)

push

public void push()

resetLast

public void resetLast(Integer history,
                      String message)

revertCommit

public void revertCommit(String revstr,
                         String message)

revertLast

public void revertLast(String message)


Copyright © 2009–2015. All rights reserved.