public enum NeptusEvents extends java.lang.Enum<NeptusEvents>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static void |
clean() |
static void |
create(ConsoleLayout console)
Creates a event bus for a given console this should only be called at the
ConsoleLayout construct |
static void |
delete(ConsoleLayout console) |
void |
onDeadEvent(com.google.common.eventbus.DeadEvent e) |
static void |
post(java.lang.Object arg0)
Post a new event to the GLOBAL synchronous event bus
|
static void |
post(java.lang.Object arg0,
ConsoleLayout console)
Post a new event to the given console asynchronous event bus
|
static void |
register(java.lang.Object object)
Register for the GLOBAL synchronous event bus
|
static void |
register(java.lang.Object object,
ConsoleLayout console)
Register for the given console asynchronous event bus
|
static void |
unregister(java.lang.Object object,
ConsoleLayout console)
Unregister for the given console asynchronous event bus
|
static NeptusEvents |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeptusEvents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeptusEvents INSTANCE
public static NeptusEvents[] values()
for (NeptusEvents c : NeptusEvents.values()) System.out.println(c);
public static NeptusEvents valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static void post(java.lang.Object arg0)
arg0
- public static void post(java.lang.Object arg0, ConsoleLayout console)
arg0
- console
- public static void register(java.lang.Object object)
object
- public static void register(java.lang.Object object, ConsoleLayout console)
object
- console
- public static void unregister(java.lang.Object object, ConsoleLayout console)
object
- console
- public static void create(ConsoleLayout console)
ConsoleLayout
constructconsole
- public static void delete(ConsoleLayout console)
public static void clean()
public void onDeadEvent(com.google.common.eventbus.DeadEvent e)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.