public class ModuleEvent extends Event<ModuleEvent.Type>
Event type generated at various times during a module's lifecycle
Modifier and Type | Class and Description |
---|---|
static class |
ModuleEvent.ModuleState |
static class |
ModuleEvent.Type |
Modifier and Type | Field and Description |
---|---|
protected Throwable |
error |
protected String |
msg |
protected ModuleEvent.ModuleState |
newState |
Constructor and Description |
---|
ModuleEvent(IModule<?> module,
ModuleEvent.ModuleState newState) |
ModuleEvent(IModule<?> module,
ModuleEvent.Type type) |
ModuleEvent(IModule<?> module,
String msg) |
ModuleEvent(IModule<?> module,
Throwable error) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getError() |
IModule<?> |
getModule() |
ModuleEvent.ModuleState |
getNewState() |
getSource, getTimeStamp, getType
protected ModuleEvent.ModuleState newState
protected Throwable error
protected String msg
public ModuleEvent(IModule<?> module, ModuleEvent.Type type)
public ModuleEvent(IModule<?> module, ModuleEvent.ModuleState newState)
public IModule<?> getModule()
public ModuleEvent.ModuleState getNewState()
public Throwable getError()
Copyright © 2016 Sensia Software LLC. All rights reserved.