Guvnor - Asset Management Backend 6.2.0.CR1

org.guvnor.asset.management.backend.command
Class ListCommitsCommand

java.lang.Object
  extended by org.guvnor.asset.management.backend.command.AbstractCommand
      extended by org.guvnor.asset.management.backend.command.ListCommitsCommand
All Implemented Interfaces:
org.kie.internal.executor.api.Command

public class ListCommitsCommand
extends AbstractCommand


Constructor Summary
ListCommitsCommand()
           
 
Method Summary
protected  String dumpToStringCommit(List<CommitInfo> commits)
           
protected  String dumpToStringFiles(Set<String> files)
           
 org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext commandContext)
           
protected  List<String> getFilesInCommit(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.ObjectId commitId)
           
protected  Map<String,List<String>> sortByFileName(List<CommitInfo> commits)
           
 
Methods inherited from class org.guvnor.asset.management.backend.command.AbstractCommand
getParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListCommitsCommand

public ListCommitsCommand()
Method Detail

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)

Guvnor - Asset Management Backend 6.2.0.CR1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.