Class AbstractChannelActionWithWait
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.core.net.rabbitmq.channelaction.AbstractChannelAction
-
- adams.core.net.rabbitmq.channelaction.AbstractChannelActionWithWait
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.SizeOfHandler
,Serializable
- Direct Known Subclasses:
DeclareExchange
,DeclareQueue
,DeleteExchange
,DeleteQueue
public abstract class AbstractChannelActionWithWait extends AbstractChannelAction
Ancestor for actions that can wait or not.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
m_Wait
whether to wait.
-
Constructor Summary
Constructors Constructor Description AbstractChannelActionWithWait()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.boolean
getWait()
Returns whether to wait for call to finish.void
setWait(boolean value)
Sets whether to wait for call to finish.String
waitTipText()
Returns the tip text for this property.-
Methods inherited from class adams.core.net.rabbitmq.channelaction.AbstractChannelAction
check, doPerformAction, getQuickInfo, performAction
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.core.option.AbstractOptionHandler
-
setWait
public void setWait(boolean value)
Sets whether to wait for call to finish.- Parameters:
value
- true if to wait
-
getWait
public boolean getWait()
Returns whether to wait for call to finish.- Returns:
- true if to wait
-
waitTipText
public String waitTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-