public static class TavernaServer.Root extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TavernaServer.Root.Policy |
static class |
TavernaServer.Root.Runs |
static class |
TavernaServer.Root.RunsRunName
This represents how a Taverna Server workflow run looks to a
RESTful API.
|
Constructor and Description |
---|
Root(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 the description of the service.
|
<T> T |
getAsJson(com.sun.jersey.api.client.GenericType<T> returnType)
Produces the description of the service.
|
ServerDescription |
getAsServerDescriptionXml()
Produces the description of the service.
|
<T> T |
getAsXml(Class<T> returnType)
Produces the description of the service.
|
<T> T |
getAsXml(com.sun.jersey.api.client.GenericType<T> returnType)
Produces the description of the service.
|
<T> T |
optionsAsOctetStream(Class<T> returnType)
Produces the description of the service.
|
<T> T |
optionsAsOctetStream(com.sun.jersey.api.client.GenericType<T> returnType)
Produces the description of the service.
|
TavernaServer.Root.Policy |
policy() |
TavernaServer.Root.Runs |
runs() |
TavernaServer.Root.RunsRunName |
runsRunName(String runname)
This represents how a Taverna Server workflow run looks to a
RESTful API.
|
public Root(com.sun.jersey.api.client.Client client, URI baseUri)
public ServerDescription getAsServerDescriptionXml()
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 TavernaServer.Root.Runs runs()
public TavernaServer.Root.Policy policy()
public TavernaServer.Root.RunsRunName runsRunName(String runname)
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.