@RolesAllowed(value="ROLE_tavernauser") public static interface TavernaServerListenersREST.TavernaServerListenerREST
TavernaServerListenersREST
,
TavernaServerListenersREST.Property
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
configurationOptions()
Get an outline of the operations supported.
|
String |
getConfiguration()
Get the configuration for the given event listener that is attached
to a workflow run.
|
TavernaServerListenersREST.ListenerDescription |
getDescription(javax.ws.rs.core.UriInfo ui)
Get the description of this listener.
|
TavernaServerListenersREST.Properties |
getProperties(javax.ws.rs.core.UriInfo ui)
Get the list of properties supported by a given event listener
attached to a workflow run.
|
TavernaServerListenersREST.Property |
getProperty(String propertyName)
Get an object representing a particular property.
|
javax.ws.rs.core.Response |
listenerOptions()
Get an outline of the operations supported.
|
javax.ws.rs.core.Response |
propertiesOptions()
Get an outline of the operations supported.
|
@GET @Path(value="/") @Produces(value={"application/xml","application/json"}) @Nonnull TavernaServerListenersREST.ListenerDescription getDescription(@Nonnull @Context javax.ws.rs.core.UriInfo ui)
ui
- Information about this request.@OPTIONS @Path(value="/") javax.ws.rs.core.Response listenerOptions()
@GET @Path(value="configuration") @Produces(value="text/plain") @Nonnull String getConfiguration()
@OPTIONS @Path(value="configuration") javax.ws.rs.core.Response configurationOptions()
@GET @Path(value="properties") @Produces(value={"application/xml","application/json"}) @Nonnull TavernaServerListenersREST.Properties getProperties(@Nonnull @Context javax.ws.rs.core.UriInfo ui)
ui
- Information about this request.@OPTIONS @Path(value="properties") javax.ws.rs.core.Response propertiesOptions()
@Path(value="properties/{propertyName}") @Nonnull TavernaServerListenersREST.Property getProperty(@Nonnull @PathParam(value="propertyName") String propertyName) throws NoListenerException
propertyName
- NoListenerException
- If there is no such property.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.