public class BM_LinkData extends BehaviourModule
passwordHandler, service, serviceType
jarFile, syncOn, uuid
Constructor and Description |
---|
BM_LinkData(Auto service,
PasswordHandler passwordHandler)
Create a new instance of BM_LinkData.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
autoEvent(MessageInfo autoMessage)
Execute a configurable autonomic event, based on the evaluation result.
|
MessageInfo |
behaviourAction(MessageInfo messageInfo,
HeuristicModule evaluate,
SM_Data sm)
Run the behaviour evaluation.
|
testEnded
canAccess, canAccessTemp, getPasswordHandler, getPasswordHandler, getServerPassword, getServicePassword, getServiceType, isAdminKey, setServiceDetails, setServiceType
getJarFile, getUUID, loadObject, setJarFile, setUUID, threadAliveState
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUUID, setJarFile, setUUID
public BM_LinkData(Auto service, PasswordHandler passwordHandler) throws java.lang.Exception
service
- the service the behaviour is for.passwordHandler
- the service's password handler.java.lang.Exception
- any error.public MessageInfo behaviourAction(MessageInfo messageInfo, HeuristicModule evaluate, SM_Data sm) throws java.lang.Exception
behaviourAction
in class BehaviourModule
messageInfo
- the Input message to evaluate.evaluate
- heuristic to evaluate the behaviour with.sm
- the service module.java.lang.Exception
- any error.protected java.lang.Object autoEvent(MessageInfo autoMessage) throws java.lang.Exception
autoMessage
- the message object with the desired evaluation result.java.lang.Exception
- any error.