org.drools.guvnor.server.files
Class ActionsAPI
java.lang.Object
org.drools.guvnor.server.files.ActionsAPI
public class ActionsAPI
- extends Object
Basic API for executing simple actions against Guvnor:
compilation and snapshot creation for packages.
Fix for GUVNOR-1080
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionsAPI
public ActionsAPI()
post
public void post(RepositoryPackageService service,
RulesRepository repository,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Post is for actions.
URL should be: http://servername:port/action/compile
http://servername:port/action/snapshot
parameters: package-name
snapshot-name
- Throws:
IOException
RulesRepositoryException
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.