Package io.inugami.configuration.test
Class MockCaller
- java.lang.Object
-
- io.inugami.configuration.test.MockCaller
-
- All Implemented Interfaces:
Provider,NamedComponent
public class MockCaller extends Object implements Provider
SystemCaller- Since:
- 3 janv. 2017
-
-
Field Summary
-
Fields inherited from interface io.inugami.api.providers.Provider
CONFIG_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description MockCaller()MockCaller(ConfigHandler<String,String> config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProviderFutureResultaggregate(List<ProviderFutureResult> data)<T extends SimpleEvent>
FutureData<ProviderFutureResult>callEvent(T event, Gav pluginGav)StringgetName()StringgetType()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.inugami.api.providers.Provider
getConfig, getTimeout
-
-
-
-
Constructor Detail
-
MockCaller
public MockCaller()
-
MockCaller
public MockCaller(ConfigHandler<String,String> config)
-
-
Method Detail
-
callEvent
public <T extends SimpleEvent> FutureData<ProviderFutureResult> callEvent(T event, Gav pluginGav)
-
getName
public String getName()
- Specified by:
getNamein interfaceNamedComponent
-
aggregate
public ProviderFutureResult aggregate(List<ProviderFutureResult> data) throws ProviderException
- Specified by:
aggregatein interfaceProvider- Throws:
ProviderException
-
-