KIE Config command line interface 6.2.0.Final

org.kie.config.cli.support
Class GitRepositoryHelper

java.lang.Object
  extended by org.kie.config.cli.support.GitRepositoryHelper
All Implemented Interfaces:
org.guvnor.structure.server.repositories.RepositoryFactoryHelper

@ApplicationScoped
public class GitRepositoryHelper
extends Object
implements org.guvnor.structure.server.repositories.RepositoryFactoryHelper


Constructor Summary
GitRepositoryHelper()
           
GitRepositoryHelper(org.uberfire.io.IOService ioService)
           
 
Method Summary
 boolean accept(org.guvnor.structure.server.config.ConfigGroup repoConfig)
           
protected  String getBranchName(org.uberfire.java.nio.file.Path path)
           
 org.guvnor.structure.repositories.Repository newRepository(org.guvnor.structure.server.config.ConfigGroup repoConfig)
           
 org.guvnor.structure.repositories.Repository newRepository(org.guvnor.structure.server.config.ConfigGroup repoConfig, String branch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitRepositoryHelper

public GitRepositoryHelper()

GitRepositoryHelper

@Inject
public GitRepositoryHelper(@Named(value="ioStrategy")
                                  org.uberfire.io.IOService ioService)
Method Detail

accept

public boolean accept(org.guvnor.structure.server.config.ConfigGroup repoConfig)
Specified by:
accept in interface org.guvnor.structure.server.repositories.RepositoryFactoryHelper

newRepository

public org.guvnor.structure.repositories.Repository newRepository(org.guvnor.structure.server.config.ConfigGroup repoConfig)
Specified by:
newRepository in interface org.guvnor.structure.server.repositories.RepositoryFactoryHelper

newRepository

public org.guvnor.structure.repositories.Repository newRepository(org.guvnor.structure.server.config.ConfigGroup repoConfig,
                                                                  String branch)

getBranchName

protected String getBranchName(org.uberfire.java.nio.file.Path path)

KIE Config command line interface 6.2.0.Final

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