public static class TavernaServer.Root.RunsRunName.Input.InputName extends Object
Constructor and Description |
---|
InputName(com.sun.jersey.api.client.Client client,
URI uri)
Create new instance using existing Client instance, and the URI from which the parameters will be extracted
|
InputName(com.sun.jersey.api.client.Client client,
URI baseUri,
String name)
Create new instance using existing Client instance, and a base URI and any parameters
|
Modifier and Type | Method and Description |
---|---|
InputDescription |
getAsInputDescriptionXml()
Gives a description of what is used to supply a particular
input.
|
<T> T |
getAsJson(Class<T> returnType)
Gives a description of what is used to supply a particular
input.
|
<T> T |
getAsJson(com.sun.jersey.api.client.GenericType<T> returnType)
Gives a description of what is used to supply a particular
input.
|
<T> T |
getAsXml(Class<T> returnType)
Gives a description of what is used to supply a particular
input.
|
<T> T |
getAsXml(com.sun.jersey.api.client.GenericType<T> returnType)
Gives a description of what is used to supply a particular
input.
|
String |
getName()
Get name
|
<T> T |
optionsAsOctetStream(Class<T> returnType)
Produces the description of the one input's operations.
|
<T> T |
optionsAsOctetStream(com.sun.jersey.api.client.GenericType<T> returnType)
Produces the description of the one input's operations.
|
<T> T |
putJson(Object input,
Class<T> returnType)
Sets the source for a particular input port.
|
<T> T |
putJson(Object input,
com.sun.jersey.api.client.GenericType<T> returnType)
Sets the source for a particular input port.
|
<T> T |
putXml(Object input,
Class<T> returnType)
Sets the source for a particular input port.
|
<T> T |
putXml(Object input,
com.sun.jersey.api.client.GenericType<T> returnType)
Sets the source for a particular input port.
|
InputDescription |
putXmlAsInputDescription(InputDescription input)
Sets the source for a particular input port.
|
TavernaServer.Root.RunsRunName.Input.InputName |
setName(String name)
Duplicate state and set name
|
public InputName(com.sun.jersey.api.client.Client client, URI baseUri, String name)
public InputName(com.sun.jersey.api.client.Client client, URI uri)
public String getName()
public TavernaServer.Root.RunsRunName.Input.InputName setName(String name)
public InputDescription getAsInputDescriptionXml()
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 InputDescription putXmlAsInputDescription(InputDescription input)
input
- Sets the source for a particular input port.public <T> T putXml(Object input, com.sun.jersey.api.client.GenericType<T> returnType)
input
- Sets the source for a particular input port.public <T> T putXml(Object input, Class<T> returnType)
input
- Sets the source for a particular input port.public <T> T putJson(Object input, com.sun.jersey.api.client.GenericType<T> returnType)
input
- Sets the source for a particular input port.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.