Examples of RepositoryResponse


Examples of org.kie.workbench.common.services.shared.rest.RepositoryResponse

    @Path("/repositories/{repositoryName}")
    public RepositoryResponse getRepository(@PathParam("repositoryName") String repositoryName ) {
        logger.debug( "-----getRepository---, repository name: {}",  repositoryName);
        org.uberfire.backend.repositories.Repository origRepo = checkRepositoryExistence(repositoryName);
       
        RepositoryResponse repo = new RepositoryResponse();
        repo.setGitURL( origRepo.getUri() );
        repo.setName( origRepo.getAlias() );
       
        return repo;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.