MockRuntime
Date: 2013-05-21

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.tools.searchtester.plugin.test
Class MockRuntime

    java.lang.Object
      TaskRuntime
          org.gcube.tools.searchtester.plugin.test.MockRuntime

    public class MockRuntime

extends TaskRuntime

A subclass of `TaskResource.Runtime` suitable for testing.

Method Summary
`void` | `addOutput(Entry... entries)`
`java.lang.Object` | `addOutput(java.lang.String name, java.lang.Object value)`
`ExecutorPluginContext` | `getContext()`
`java.lang.Object` | `getInput(java.lang.String name)`
`java.util.Map<java.lang.String,java.lang.Object>` | `getInputs()`
`java.util.Calendar` | `getStartTime()`
`void` | `removeOutput(java.lang.String... names)`
`void` | `throwException(java.lang.Exception e)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getStartTime

    public java.util.Calendar getStartTime()

### getInput

    public java.lang.Object getInput(java.lang.String name)

### getInputs

    public java.util.Map<java.lang.String,java.lang.Object> getInputs()

### addOutput

    public java.lang.Object addOutput(java.lang.String name,
                                      java.lang.Object value)

### addOutput

    public void addOutput(Entry... entries)

### removeOutput

    public void removeOutput(java.lang.String... names)

### getContext

    public ExecutorPluginContext getContext()

### throwException

    public void throwException(java.lang.Exception e)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD