@RolesAllowed(value="ROLE_tavernauser") public static interface TavernaServerListenersREST.Property
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Get the value of the particular property of an event listener
attached to a workflow run.
|
javax.ws.rs.core.Response |
options()
Get an outline of the operations supported.
|
String |
setValue(String value)
Set the value of the particular property of an event listener
attached to a workflow run.
|
@GET @Path(value="/") @Produces(value="text/plain") @Nonnull String getValue()
@PUT @Path(value="/") @Consumes(value="text/plain") @Produces(value="text/plain") @Nonnull String setValue(@Nonnull String value) throws NoUpdateException, NoListenerException
value
- The value to set the property to.NoUpdateException
- If the user is not permitted to update the run.NoListenerException
- If the property is in the wrong format.@OPTIONS @Path(value="/") javax.ws.rs.core.Response options()
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.