@Produces(value="application/json;charset=UTF-8") @Path(value="/groovyActions") public class GroovyActionsEndPoint extends Object
Constructor and Description |
---|
GroovyActionsEndPoint() |
Modifier and Type | Method and Description |
---|---|
void |
remove(String actionId)
Deletes the rule identified by the specified identifier.
|
javax.ws.rs.core.Response |
save(org.apache.cxf.jaxrs.ext.multipart.Attachment file)
Save a groovy action file and create an actionType entry to allow to call this action
|
void |
setGroovyActionsService(GroovyActionsService groovyActionsService) |
public void setGroovyActionsService(GroovyActionsService groovyActionsService)
@POST @Path(value="/") @Consumes(value="multipart/form-data") @Produces(value="application/json") public javax.ws.rs.core.Response save(org.apache.cxf.jaxrs.ext.multipart.Attachment file)
file
- the file to save@DELETE @Path(value="/{actionId}") public void remove(@PathParam(value="actionId") String actionId)
actionId
- the identifier of the groovy action that we want to deleteCopyright © 2014–2023 Apache Software Foundation. All rights reserved.