Package org.jdrupes.vmoperator.manager
Class AvoidEmptyPolicy
java.lang.Object
org.jgrapes.core.internal.ComponentVertex
org.jgrapes.core.Component
org.jdrupes.vmoperator.manager.AvoidEmptyPolicy
- All Implemented Interfaces:
Iterable<ComponentType>,Channel,ComponentType,Eligible,Manager
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.core.Channel
Channel.Default -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAvoidEmptyPolicy(Channel componentChannel) Creates a new component with its channel set to the given channel. -
Method Summary
Modifier and TypeMethodDescriptionvoidonConsoleConfigured(org.jgrapes.webconsole.base.events.ConsoleConfigured event, org.jgrapes.webconsole.base.ConsoleConnection connection) On console configured.voidonConsoleReady(org.jgrapes.webconsole.base.events.ConsoleReady event, org.jgrapes.webconsole.base.ConsoleConnection connection) On console ready.voidonRenderConlet(org.jgrapes.webconsole.base.events.RenderConlet event, org.jgrapes.webconsole.base.ConsoleConnection connection) On render conlet.Methods inherited from class org.jgrapes.core.Component
channel, component, defaultCriterion, isEligibleFor, setNameMethods inherited from class org.jgrapes.core.internal.ComponentVertex
activeEventPipeline, addHandler, attach, channelReplacements, children, componentPath, componentVertex, detach, fire, initComponentsHandlers, iterator, name, newEventPipeline, newEventPipeline, parent, registerAsGenerator, root, toString, unregisterAsGeneratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AvoidEmptyPolicy
Creates a new component with its channel set to the given channel.- Parameters:
componentChannel-
-
-
Method Details
-
onConsoleReady
@Handler public void onConsoleReady(org.jgrapes.webconsole.base.events.ConsoleReady event, org.jgrapes.webconsole.base.ConsoleConnection connection) On console ready.- Parameters:
event- the eventconnection- the connection
-
onRenderConlet
@Handler(priority=100) public void onRenderConlet(org.jgrapes.webconsole.base.events.RenderConlet event, org.jgrapes.webconsole.base.ConsoleConnection connection) On render conlet.- Parameters:
event- the eventconnection- the connection
-
onConsoleConfigured
@Handler(priority=-100) public void onConsoleConfigured(org.jgrapes.webconsole.base.events.ConsoleConfigured event, org.jgrapes.webconsole.base.ConsoleConnection connection) throws InterruptedException, IOException On console configured.- Parameters:
event- the eventconnection- the console connection- Throws:
InterruptedException- the interrupted exceptionIOException
-