|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ZoomaMode
The interface for a Zooma operation, which is a mapping "endpoint". Usually, a new operation will define a new resource against which zoom runs, or maybe a type of inputs. Each operation should define several operations, which may qualify the resources a given operation runs against. So, for example, the "text" operation will match provided terms against either a provided ontology, or against bioportal and ols, depending on the operation specified.
Nested Class Summary | |
---|---|
static interface |
ZoomaMode.Argument
Defines an argument provided to modify an operation. |
static interface |
ZoomaMode.Operation
Defines an operation on a operation. |
Method Summary | |
---|---|
java.util.List<ZoomaMode.Argument> |
getArgumentsForOperation(ZoomaMode.Operation operation)
A collection of arguments that can be supplied to this operation |
java.lang.String |
getModeName()
Returns the name of this operation |
java.util.Collection<ZoomaMode.Operation> |
getOperations()
A collection of modes that this operation can operate in |
void |
invokeTarget(ZoomaMode.Operation operation,
java.lang.String... argumentValues)
Invokes the operation for the operation on this operation with the given parameters. |
Method Detail |
---|
java.lang.String getModeName()
java.util.Collection<ZoomaMode.Operation> getOperations()
java.util.List<ZoomaMode.Argument> getArgumentsForOperation(ZoomaMode.Operation operation)
operation
-
void invokeTarget(ZoomaMode.Operation operation, java.lang.String... argumentValues) throws ZoomaInvocationException
getArgumentsForOperation(uk.ac.ebi.microarray.zooma.utils.ZoomaMode.Operation)
operation
- the operation to useargumentValues
- the arguments to supply when invoking this
operation.
ZoomaInvocationException
- whenever the attempt to invoke the target fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |