Class ManagementInput
java.lang.Object
com.swiftmq.impl.streams.comp.io.ManagementInput
- All Implemented Interfaces:
Input
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this Input.voidcollect(long interval) Internal use.context()Returns the CLI contextSets a CLI context different from the name.current()Returns the current Message of this Input.Sets the current Message on this Input.voidInternal use.Internal use.getName()Returns the name of this Input.Internal use only.Internal use only.booleanInternal usebooleanInternal usebooleanInternal useAdds Property name(s) that must be addionally included in an onChange message.onAdd(InputCallback addCallback) Registers a Callback that is executed when a new Entity is addedonChange(InputCallback changeCallback) Registers a Callback that is executed when a a Property of an Entity has changedonRemove(InputCallback removeCallback) Registers a Callback that is executed when a existing Entity is removedSets a JMS Message selectorvoidsetManagementProcessor(ManagementProcessor managementProcessor) Internal use.voidstart()Starts this Input.toString()
-
Field Details
-
PROP_OPER
-
PROP_CTX
-
PROP_TIME
-
VAL_ADD
-
VAL_REMOVE
-
VAL_CHANGE
-
-
Method Details
-
getName
-
hasAddCallback
public boolean hasAddCallback()Internal use- Returns:
- true/false
-
hasRemoveCallback
public boolean hasRemoveCallback()Internal use- Returns:
- true/false
-
hasChangeCallback
public boolean hasChangeCallback()Internal use- Returns:
- true/false
-
current
-
current
-
getSelector
Internal use only. -
context
-
context
-
selector
-
include
Adds Property name(s) that must be addionally included in an onChange message. If multiple names are given, they must be separated by blank.- Parameters:
propInclude-- Returns:
- this
-
getPropIncludes
-
onAdd
Registers a Callback that is executed when a new Entity is added- Parameters:
addCallback- callback- Returns:
- ManagementInput
-
onRemove
Registers a Callback that is executed when a existing Entity is removed- Parameters:
removeCallback- callback- Returns:
- ManagementInput
-
onChange
Registers a Callback that is executed when a a Property of an Entity has changed- Parameters:
changeCallback- callback- Returns:
- ManagementInput
-
executeCallback
Description copied from interface:InputInternal use.- Specified by:
executeCallbackin interfaceInput- Throws:
Exception
-
getManagementProcessor
-
setManagementProcessor
Internal use.- Parameters:
managementProcessor- ManagementProcessor
-
collect
-
start
-
close
-
toString
-