org.drools.workbench.common.services.rest
Class ProjectResource
java.lang.Object
org.drools.workbench.common.services.rest.ProjectResource
@Named
@ApplicationScoped
public class ProjectResource
- extends Object
REST services
|
Field Summary |
protected org.guvnor.common.services.project.builder.service.BuildService |
buildService
|
protected org.guvnor.common.services.project.service.ProjectService |
projectService
|
protected javax.ws.rs.core.UriInfo |
uriInfo
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uriInfo
@Context
protected javax.ws.rs.core.UriInfo uriInfo
projectService
@Inject
protected org.guvnor.common.services.project.service.ProjectService projectService
buildService
@Inject
protected org.guvnor.common.services.project.builder.service.BuildService buildService
ProjectResource
public ProjectResource()
getJobStatus
public org.kie.workbench.common.services.shared.rest.JobResult getJobStatus(String jobId)
removeJob
public org.kie.workbench.common.services.shared.rest.JobResult removeJob(String jobId)
getRepositories
public Collection<org.kie.workbench.common.services.shared.rest.RepositoryResponse> getRepositories()
getRepository
public org.kie.workbench.common.services.shared.rest.RepositoryResponse getRepository(String repositoryName)
createOrCloneRepository
public javax.ws.rs.core.Response createOrCloneRepository(org.kie.workbench.common.services.shared.rest.RepositoryRequest repository)
removeRepository
public javax.ws.rs.core.Response removeRepository(String repositoryName)
createProject
public javax.ws.rs.core.Response createProject(String repositoryName,
org.kie.workbench.common.services.shared.rest.Entity project)
deleteProject
public javax.ws.rs.core.Response deleteProject(String repositoryName,
String projectName)
compileProject
public javax.ws.rs.core.Response compileProject(String repositoryName,
String projectName)
installProject
public javax.ws.rs.core.Response installProject(String repositoryName,
String projectName)
testProject
public javax.ws.rs.core.Response testProject(String repositoryName,
String projectName,
org.kie.workbench.common.services.shared.rest.BuildConfig mavenConfig)
deployProject
public javax.ws.rs.core.Response deployProject(String repositoryName,
String projectName)
getOrganizationalUnits
public Collection<org.kie.workbench.common.services.shared.rest.OrganizationalUnit> getOrganizationalUnits()
getOrganizationalUnit
public org.kie.workbench.common.services.shared.rest.OrganizationalUnit getOrganizationalUnit(String organizationalUnitName)
createOrganizationalUnit
public javax.ws.rs.core.Response createOrganizationalUnit(org.kie.workbench.common.services.shared.rest.OrganizationalUnit organizationalUnit)
addRepositoryToOrganizationalUnit
public javax.ws.rs.core.Response addRepositoryToOrganizationalUnit(String organizationalUnitName,
String repositoryName)
removeRepositoryFromOrganizationalUnit
public javax.ws.rs.core.Response removeRepositoryFromOrganizationalUnit(String organizationalUnitName,
String repositoryName)
deleteOrganizationalUnit
public javax.ws.rs.core.Response deleteOrganizationalUnit(String organizationalUnitName)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.