@MXBean(value=true) public interface StrategyMXBean
Any changes made using the setters in this interface require the implementing module to be restarted before the changes take effect.
| Modifier and Type | Method and Description |
|---|---|
Language |
getLanguage()
Gets the strategy language.
|
String |
getName()
Gets the strategy class name.
|
String |
getOutputDestination()
Returns the current destination for output created by this strategy.
|
String |
getParameters()
Returns the current strategy parameters.
|
String |
getStatus()
Gets the strategy status.
|
boolean |
isRoutingOrdersToORS()
Indicates if the strategy is configured to route orders to the ORS.
|
void |
setOutputDestination(String inDestination)
Sets the destination for output created by this strategy.
|
void |
setParameters(String inParameters)
Sets the strategy parameters.
|
void |
setRoutingOrdersToORS(boolean inValue)
Determines if the strategy is configured to route orders to the ORS.
|
void setParameters(String inParameters)
This method assumes that the String consists of a series of key/value pairs separated by
the Util.KEY_VALUE_DELIMITER. The key/value pairs themselves are separated by the Util.KEY_VALUE_SEPARATOR.
Any malformed entries are discarded. A best-effort will be made to retain as many key/value pairs as possible.
inParameters - a String value or null. If null or of zero-length, the current parameters are removed.
All current values are replaced by the values specifed in inParameters.String getParameters()
This method returns a String containing a series of key/value pairs representing the strategy
parameters. Each key/value pair is separated by the Util.KEY_VALUE_DELIMITER.
The pairs themselves are separated by Util.KEY_VALUE_SEPARATOR.
Note that if any of the keys or values of the Properties object contains either the
Util.KEY_VALUE_DELIMITER or the Util.KEY_VALUE_SEPARATOR character, the resulting
String will not be paresable with setParameters(String).
String value containing the current parameter settings or null if the current settings are empty.void setOutputDestination(String inDestination)
The value passed must be a representation of a ModuleURN corresponding to a valid, started module
which implements DataReceiver. If inDestination is null or empty, the current
destination, if any, is disconnected.
Note that this method will have no effect on any data flows established externally.
inDestination - a String value containing a valid, started DataReceiver ModuleURN or nullIllegalArgumentException - if inDestination cannot be parsed as a ModuleURNString getOutputDestination()
String value containing a String representation of a ModuleURN or
null if no destination has been established.boolean isRoutingOrdersToORS()
boolean valuevoid setRoutingOrdersToORS(boolean inValue)
inValue - a boolean valueString getStatus()
String value corresponding to a value in Status.String getName()
Language getLanguage()
Copyright © 2014. All Rights Reserved.