org.guvnor.asset.management.backend.command
Class ListCommitsCommand
java.lang.Object
org.guvnor.asset.management.backend.command.AbstractCommand
org.guvnor.asset.management.backend.command.ListCommitsCommand
- All Implemented Interfaces:
- org.kie.internal.executor.api.Command
public class ListCommitsCommand
- extends AbstractCommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListCommitsCommand
public ListCommitsCommand()
execute
public org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext commandContext)
throws Exception
- Throws:
Exception
dumpToStringCommit
protected String dumpToStringCommit(List<CommitInfo> commits)
dumpToStringFiles
protected String dumpToStringFiles(Set<String> files)
sortByFileName
protected Map<String,List<String>> sortByFileName(List<CommitInfo> commits)
getFilesInCommit
protected List<String> getFilesInCommit(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.lib.ObjectId commitId)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.