|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.server.atom.services.brms.BrmsResource
public class BrmsResource
The JAX-RS resource that handles artifact specific tasks, including:
| Constructor Summary | |
|---|---|
BrmsResource()
Constructor. |
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
getDroolsFile(String pkgName,
String version,
String fileName)
|
javax.ws.rs.core.Response |
getDroolsPackage(String pkgName,
String version)
Returns the content of a Brms/Drools Package in the s-ramp repository. |
Packages |
getRestAllPackages()
Returns an XML document with all BRMS packages in the system. |
javax.ws.rs.core.Response |
getRestAsset(String accept,
String pkgName,
String assetName)
Returns the content of a Brms/Drools Package in the s-ramp repository. |
javax.ws.rs.core.Response |
getRestPackage(String pkgName)
Returns the content of a Brms/Drools Package in the s-ramp repository. |
javax.ws.rs.core.Response |
getRestSourceAsset(String pkgName,
String assetName)
|
Assets |
getRestXMLAllAssetsInPackage(String pkgName)
Returns an XML document with all BRMS packages in the system. |
org.jboss.resteasy.plugins.providers.atom.Entry |
getRestXMLAsset(String pkgName,
String assetName)
Returns an XML document with all BRMS packages in the system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrmsResource()
| Method Detail |
|---|
public Packages getRestAllPackages()
throws SrampAtomException
SrampAtomException
public Assets getRestXMLAllAssetsInPackage(String pkgName)
throws SrampAtomException
SrampAtomException
public org.jboss.resteasy.plugins.providers.atom.Entry getRestXMLAsset(String pkgName,
String assetName)
throws SrampAtomException
SrampAtomException
public javax.ws.rs.core.Response getDroolsPackage(String pkgName,
String version)
throws SrampAtomException
pkgName - - the name of the Brms Package
SrampAtomException - http://localhost:8880/s-ramp-atom/brms/org.drools.guvnor.Guvnor/package/srampPackage/S-RAMP-0.0.3.0
public javax.ws.rs.core.Response getRestPackage(String pkgName)
throws SrampAtomException
pkgName - - the name of the Brms Package
SrampAtomException
public javax.ws.rs.core.Response getDroolsFile(String pkgName,
String version,
String fileName)
throws SrampAtomException
SrampAtomException
public javax.ws.rs.core.Response getRestAsset(@HeaderParam(value="Accept")
String accept,
String pkgName,
String assetName)
throws SrampAtomException
pkgName - - the name of the Brms PackageassetName - - the name of the Brms Asset
SrampAtomException - http://localhost:8080/s-ramp-server/brms/rest/packages/SRAMPPackage/assets/overlord.demo.SimpleReleaseProcess-taskform
http://localhost:8080/s-ramp-server/brms/org.drools.guvnor.Guvnor/package/SRAMPPackage/LATEST/overlord.demo.SimpleReleaseProcess-image.png
public javax.ws.rs.core.Response getRestSourceAsset(String pkgName,
String assetName)
throws SrampAtomException
SrampAtomException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||