uk.ac.ncl.cs.instantsoap.wsapi
Class Wsapi
java.lang.Object
uk.ac.ncl.cs.instantsoap.wsapi.Wsapi
public final class Wsapi
- extends Object
Static utilities to make working with wsapi objects easier.
- Author:
- Matthew Pocock
Method Summary |
static
|
asMap(Wsapi.Pair<K,V>... pairs)
|
static
|
asSet(E... e)
|
static BlockedInvocationResponse |
blockedInvocationResponse(UUID uuid,
Map<String,String> results)
|
static BlockedInvocationResponse |
blockedInvocationResponse(UUID uuid,
Wsapi.Pair<String,String>... result)
|
static Map<String,String> |
invoke(WebServiceDispatcher wsd,
JobSpecification js)
|
static JobSpecification |
jobSpecification(String taskName,
Map<String,String> inputs)
|
static JobSpecification |
jobSpecification(String taskName,
Wsapi.Pair<String,String>... input)
|
static MetaData |
metaData(String name)
|
static MetaData |
metaData(String name,
String description)
|
static MetaData |
metaData(String name,
String description,
Object annotation)
|
static
|
pair(K k,
V v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metaData
public static MetaData metaData(String name)
metaData
public static MetaData metaData(String name,
String description)
metaData
public static MetaData metaData(String name,
String description,
Object annotation)
blockedInvocationResponse
public static BlockedInvocationResponse blockedInvocationResponse(UUID uuid,
Map<String,String> results)
blockedInvocationResponse
public static BlockedInvocationResponse blockedInvocationResponse(UUID uuid,
Wsapi.Pair<String,String>... result)
jobSpecification
public static JobSpecification jobSpecification(String taskName,
Map<String,String> inputs)
jobSpecification
public static JobSpecification jobSpecification(String taskName,
Wsapi.Pair<String,String>... input)
pair
public static <K,V> Wsapi.Pair<K,V> pair(K k,
V v)
asMap
public static <K,V> Map<K,V> asMap(Wsapi.Pair<K,V>... pairs)
asSet
public static <E> Set<E> asSet(E... e)
invoke
public static Map<String,String> invoke(WebServiceDispatcher wsd,
JobSpecification js)
throws JobExecutionException,
InvalidJobSpecificationException,
InterruptedException
- Throws:
JobExecutionException
InvalidJobSpecificationException
InterruptedException
Copyright © 2006-2008. All Rights Reserved.