public static class TavernaServer.Root.Runs extends Object
Constructor and Description |
---|
Runs(com.sun.jersey.api.client.Client client,
URI baseUri)
Create new instance using existing Client instance, and a base URI and any parameters
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getAsJson(Class<T> returnType)
Produces a list of all runs visible to the user.
|
<T> T |
getAsJson(com.sun.jersey.api.client.GenericType<T> returnType)
Produces a list of all runs visible to the user.
|
RunList |
getAsRunListXml()
Produces a list of all runs visible to the user.
|
<T> T |
getAsXml(Class<T> returnType)
Produces a list of all runs visible to the user.
|
<T> T |
getAsXml(com.sun.jersey.api.client.GenericType<T> returnType)
Produces a list of all runs visible to the user.
|
<T> T |
optionsAsOctetStream(Class<T> returnType)
Produces the description of the operations on the collection
of runs.
|
<T> T |
optionsAsOctetStream(com.sun.jersey.api.client.GenericType<T> returnType)
Produces the description of the operations on the collection
of runs.
|
<T> T |
postTextUriListAsOctetStream(Object input,
Class<T> returnType)
Accepts a URL to a workflow to download and run.
|
<T> T |
postTextUriListAsOctetStream(Object input,
com.sun.jersey.api.client.GenericType<T> returnType)
Accepts a URL to a workflow to download and run.
|
<T> T |
postVndTavernaT2flowXmlAsOctetStream(Object input,
Class<T> returnType)
Accepts (or not) a request to create a new run executing the
given workflow.
|
<T> T |
postVndTavernaT2flowXmlAsOctetStream(Object input,
com.sun.jersey.api.client.GenericType<T> returnType)
Accepts (or not) a request to create a new run executing the
given workflow.
|
<T> T |
postXmlAsOctetStream(Object input,
Class<T> returnType)
Accepts (or not) a request to create a new run executing the
given workflow.
|
<T> T |
postXmlAsOctetStream(Object input,
com.sun.jersey.api.client.GenericType<T> returnType)
Accepts (or not) a request to create a new run executing the
given workflow.
|
public Runs(com.sun.jersey.api.client.Client client, URI baseUri)
public RunList getAsRunListXml()
public <T> T getAsXml(com.sun.jersey.api.client.GenericType<T> returnType)
public <T> T getAsXml(Class<T> returnType)
public <T> T getAsJson(com.sun.jersey.api.client.GenericType<T> returnType)
public <T> T getAsJson(Class<T> returnType)
public <T> T optionsAsOctetStream(com.sun.jersey.api.client.GenericType<T> returnType)
public <T> T optionsAsOctetStream(Class<T> returnType)
public <T> T postVndTavernaT2flowXmlAsOctetStream(Object input, com.sun.jersey.api.client.GenericType<T> returnType)
input
- Accepts (or not) a request to create a new run executing the
given workflow.public <T> T postVndTavernaT2flowXmlAsOctetStream(Object input, Class<T> returnType)
input
- Accepts (or not) a request to create a new run executing the
given workflow.public <T> T postXmlAsOctetStream(Object input, com.sun.jersey.api.client.GenericType<T> returnType)
input
- Accepts (or not) a request to create a new run executing the
given workflow.public <T> T postXmlAsOctetStream(Object input, Class<T> returnType)
input
- Accepts (or not) a request to create a new run executing the
given workflow.public <T> T postTextUriListAsOctetStream(Object input, com.sun.jersey.api.client.GenericType<T> returnType)
input
- Accepts a URL to a workflow to download and run. The URL
must be hosted on a publicly-accessible service.public <T> T postTextUriListAsOctetStream(Object input, Class<T> returnType)
input
- Accepts a URL to a workflow to download and run. The URL
must be hosted on a publicly-accessible service.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.