public static interface TavernaServerREST.PolicyView
Modifier and Type | Interface and Description |
---|---|
static class |
TavernaServerREST.PolicyView.CapabilityList
A list of Taverna Server capabilities.
|
static class |
TavernaServerREST.PolicyView.PolicyDescription
A description of the parts of a server policy.
|
Modifier and Type | Method and Description |
---|---|
TavernaServerREST.PolicyView.CapabilityList |
getCapabilities() |
TavernaServerREST.PolicyView.PolicyDescription |
getDescription(javax.ws.rs.core.UriInfo ui)
Describe the URIs in this view of the server's policies.
|
TavernaServerREST.EnabledNotificationFabrics |
getEnabledNotifiers()
Gets the list of supported, enabled notification fabrics.
|
int |
getMaxOperatingRuns()
Gets the maximum number of simultaneous
operating runs that the user may create.
|
int |
getMaxSimultaneousRuns()
Gets the maximum number of simultaneous runs that the user may
create.
|
TavernaServerREST.PermittedListeners |
getPermittedListeners()
Gets the list of permitted event listener types.
|
TavernaServerREST.PermittedWorkflows |
getPermittedWorkflows()
Gets the list of permitted workflows.
|
@GET @Path(value="/") @Produces(value={"application/xml","application/json"}) @Nonnull TavernaServerREST.PolicyView.PolicyDescription getDescription(@Nonnull @Context javax.ws.rs.core.UriInfo ui)
ui
- About the URI used to retrieve the description.@GET @Path(value="runLimit") @Produces(value="text/plain") @RolesAllowed(value="ROLE_tavernauser") @Nonnull int getMaxSimultaneousRuns()
@GET @Path(value="operatingLimit") @Produces(value="text/plain") @RolesAllowed(value="ROLE_tavernauser") int getMaxOperatingRuns()
@GET @Path(value="permittedWorkflows") @Produces(value={"application/xml","application/json"}) @RolesAllowed(value="ROLE_tavernauser") @Nonnull TavernaServerREST.PermittedWorkflows getPermittedWorkflows()
@GET @Path(value="permittedListenerTypes") @Produces(value={"application/xml","application/json"}) @RolesAllowed(value="ROLE_tavernauser") @Nonnull TavernaServerREST.PermittedListeners getPermittedListeners()
@GET @Path(value="enabledNotificationFabrics") @Produces(value={"application/xml","application/json"}) @RolesAllowed(value="ROLE_tavernauser") @Nonnull TavernaServerREST.EnabledNotificationFabrics getEnabledNotifiers()
@GET @Path(value="capabilities") @Produces(value={"application/xml","application/json"}) @RolesAllowed(value="ROLE_tavernauser") @Nonnull TavernaServerREST.PolicyView.CapabilityList getCapabilities()
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.