|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.TaskHeap.ExternalSync.ExternalSyncNodeDecl
org.sandev.TaskHeap.ExternalSync.ExternalSyncNodeBase
public class ExternalSyncNodeBase
AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: org.sandev.TaskHeap.ExternalSync.ExternalSyncNodeDecl
generator: org.sandev.generator.NodeClassGenerator
time: Jul 31, 2008 4:34:15 PM
This file contains:
| Field Summary | |
|---|---|
protected org.sandev.basics.nodecommon.ControlWrapper[] |
ctrlwrappers
The control wrappers we need to notify of state or parameter changes. |
protected org.sandev.basics.nodecommon.Controllable[] |
helperNodes
Our helper nodes |
protected org.sandev.basics.util.IDLookup |
idLookup
The instance we use for looking up data references. |
protected org.sandev.basics.sandmessages.IODeclReceive |
incomingSyncExternalPlanSync
Inbound org.sandev.TaskHeap.sandmessages.ExternalPlanSync synchronous messaging configuration |
protected org.sandev.basics.sandmessages.IODeclReceive |
incomingSyncPing
Inbound org.sandev.basics.sandmessages.Ping synchronous messaging configuration |
protected static int |
LOGDEBUG
Convenience redeclaration of corresponding Logger.LOGLEVEL constant |
protected static int |
LOGERROR
Convenience redeclaration of corresponding Logger.LOGLEVEL constant |
protected static int |
LOGFATAL
Convenience redeclaration of corresponding Logger.LOGLEVEL constant |
protected org.sandev.basics.nodecommon.Logger |
logger
Logfile output at specified severity levels. |
protected static int |
LOGINFO
Convenience redeclaration of corresponding Logger.LOGLEVEL constant |
protected int |
logLevel
Calls to log with severity levels less than this value will be ignored. |
static int |
LOGLEVEL_DEBUG
Possible value for logLevel |
static int |
LOGLEVEL_ERROR
Possible value for logLevel |
static int |
LOGLEVEL_FATAL
Possible value for logLevel |
static int |
LOGLEVEL_INFO
Possible value for logLevel |
static int |
LOGLEVEL_WARN
Possible value for logLevel |
protected static int |
LOGWARN
Convenience redeclaration of corresponding Logger.LOGLEVEL constant |
protected org.sandev.basics.util.SimpleMailSender |
mailSender
Our simple mail sender. |
protected org.sandev.basics.nodecommon.Messager |
messager
Communications to and from this node. |
protected org.sandev.basics.structs.NodeInstance |
nodeInstance
The declaration used to initialize this node instance when it was first created. |
protected org.sandev.basics.sandmessages.IODeclCall |
outgoingSyncAggregateUpdate
Outbound org.sandev.basics.sandmessages.AggregateUpdate synchronous messaging configuration |
protected org.sandev.basics.sandmessages.IODeclCall |
outgoingSyncExternalPlanQuery
Outbound org.sandev.TaskHeap.sandmessages.ExternalPlanQuery synchronous messaging configuration |
protected org.sandev.basics.nodecommon.Controllable |
parent
Our parent node |
protected java.lang.String |
sandNodeErrorMessage
Text details of the node execution error. |
protected int |
sandNodeState
Runtime state of the node. |
static int |
SANDNODESTATE_FAILED
Possible value for sandNodeState |
static int |
SANDNODESTATE_FAILING
Possible value for sandNodeState |
static int |
SANDNODESTATE_RESUMING
Possible value for sandNodeState |
static int |
SANDNODESTATE_RUNNING
Possible value for sandNodeState |
static int |
SANDNODESTATE_STARTING
Possible value for sandNodeState |
static int |
SANDNODESTATE_STOPPED
Possible value for sandNodeState |
static int |
SANDNODESTATE_STOPPING
Possible value for sandNodeState |
static int |
SANDNODESTATE_SUSPENDED
Possible value for sandNodeState |
static int |
SANDNODESTATE_SUSPENDING
Possible value for sandNodeState |
static int |
SANDNODESTATE_UNDEFINED
Possible value for sandNodeState |
protected org.sandev.basics.nodecommon.SandRoot |
sandRoot
Back reference to the SandRoot that launched us. |
protected org.sandev.basics.util.AuthUserLookup |
userLookup
The instance we use for looking up users. |
| Fields inherited from class org.sandev.TaskHeap.ExternalSync.ExternalSyncNodeDecl |
|---|
externalPlanFailure, externalPlanSuccess, httpAgentID, initialPollWaitSeconds, peerAuthUserLookupNode, peerIDLookupNode, pollingIntervalMinutes |
| Fields inherited from interface org.sandev.basics.nodecommon.Controllable |
|---|
OPERATION_FAIL, OPERATION_RESUME, OPERATION_SHUTDOWN, OPERATION_STARTUP, OPERATION_STR_FAIL, OPERATION_STR_RESUME, OPERATION_STR_SHUTDOWN, OPERATION_STR_STARTUP, OPERATION_STR_SUSPEND, OPERATION_STR_UNDEFINED, OPERATION_STRINGS, OPERATION_SUSPEND, OPERATION_UNDEFINED, SHUTDOWN_ERROR_RESTART_GLOBAL, SHUTDOWN_ERROR_RESTART_LOCAL, SHUTDOWN_ERROR_TERMINATE, SHUTDOWN_NORMAL, STATE_FAILED, STATE_FAILING, STATE_RESUMING, STATE_RUNNING, STATE_STARTING, STATE_STOPPED, STATE_STOPPING, STATE_STR_FAILED, STATE_STR_FAILING, STATE_STR_RESUMING, STATE_STR_RUNNING, STATE_STR_STARTING, STATE_STR_STOPPED, STATE_STR_STOPPING, STATE_STR_SUSPENDED, STATE_STR_SUSPENDING, STATE_STR_UNDEFINED, STATE_STRINGS, STATE_SUSPENDED, STATE_SUSPENDING, STATE_UNDEFINED |
| Constructor Summary | |
|---|---|
ExternalSyncNodeBase()
Default constructor calls init. |
|
| Method Summary | |
|---|---|
void |
addWrapper(org.sandev.basics.nodecommon.ControlWrapper wrapper)
Add the specified wrapper to our notification collection |
org.sandev.basics.sandmessages.AggregateUpdate |
callAggregateUpdate(org.sandev.basics.sandmessages.AggregateUpdate msg)
Synchronous outbound AggregateUpdate |
ExternalPlanCollection |
callExternalPlanQuery(ExternalPlanQuery msg)
Synchronous outbound ExternalPlanQuery |
org.sandev.basics.structs.SandCollectionMessage |
callQuery(org.sandev.basics.structs.SandQueryMessage sqm)
Generalized query method to handle all queries understood by this node |
void |
deliver(org.sandev.basics.structs.SandMessage msg)
Only those deliver methods explicitely declared by the node should actually be called. |
boolean |
fieldHasFlag(java.lang.String fieldname,
int fieldflag)
Return true if the named field declares the indicated flag, false otherwise. |
java.lang.String |
getDeploymentPrefix()
Return the prefix for this deployment. |
java.lang.String |
getExternalPlanFailure()
Accessor for externalPlanFailure |
static java.lang.String |
getExternalPlanFailureDefaultValue()
Default value for externalPlanFailure. |
java.lang.String |
getExternalPlanFailureFieldPrintValue()
Return the print name of the externalPlanFailure field. |
static boolean |
getExternalPlanFailureFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getExternalPlanFailureInvalidValue()
Invalid value for externalPlanFailure. |
static int |
getExternalPlanFailureLengthMax()
Maximum externalPlanFailure length is 255 characters |
static int |
getExternalPlanFailureLengthNorm()
Normal externalPlanFailure length is 60 characters |
java.lang.String |
getExternalPlanFailureMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getExternalPlanFailurePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getExternalPlanFailureRange()
Return the range specification for this field |
java.lang.String |
getExternalPlanFailureValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getExternalPlanSuccess()
Accessor for externalPlanSuccess |
static java.lang.String |
getExternalPlanSuccessDefaultValue()
Default value for externalPlanSuccess. |
java.lang.String |
getExternalPlanSuccessFieldPrintValue()
Return the print name of the externalPlanSuccess field. |
static boolean |
getExternalPlanSuccessFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getExternalPlanSuccessInvalidValue()
Invalid value for externalPlanSuccess. |
static int |
getExternalPlanSuccessLengthMax()
Maximum externalPlanSuccess length is 255 characters |
static int |
getExternalPlanSuccessLengthNorm()
Normal externalPlanSuccess length is 60 characters |
java.lang.String |
getExternalPlanSuccessMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getExternalPlanSuccessPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getExternalPlanSuccessRange()
Return the range specification for this field |
java.lang.String |
getExternalPlanSuccessValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.nodecommon.Controllable[] |
getHelperNodes()
accessor for helperNodes |
java.lang.String |
getHttpAgentID()
Accessor for httpAgentID |
static java.lang.String |
getHttpAgentIDDefaultValue()
Default value for httpAgentID. |
java.lang.String |
getHttpAgentIDFieldPrintValue()
Return the print name of the httpAgentID field. |
static boolean |
getHttpAgentIDFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getHttpAgentIDInvalidValue()
Invalid value for httpAgentID. |
static int |
getHttpAgentIDLengthMax()
Maximum httpAgentID length is 80 characters |
static int |
getHttpAgentIDLengthNorm()
Normal httpAgentID length is 30 characters |
java.lang.String |
getHttpAgentIDMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getHttpAgentIDPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getHttpAgentIDRange()
Return the range specification for this field |
java.lang.String |
getHttpAgentIDValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.util.IDCache |
getIDCache()
Retrieve an IDCache for use by this node. |
org.sandev.basics.util.IDLookup |
getIDLookup()
initializing accessor for idLookup. |
org.sandev.basics.sandmessages.IODeclReceive |
getIncomingSyncExternalPlanSync()
Accessor for incomingSyncExternalPlanSync |
static org.sandev.basics.sandmessages.IODeclReceive |
getIncomingSyncExternalPlanSyncDefaultValue()
Default value for incomingSyncExternalPlanSync. |
java.lang.String |
getIncomingSyncExternalPlanSyncFieldPrintValue()
Return the print name of the incomingSyncExternalPlanSync field. |
static boolean |
getIncomingSyncExternalPlanSyncFlag(int fieldflag)
Field flag accessor. |
static org.sandev.basics.sandmessages.IODeclReceive |
getIncomingSyncExternalPlanSyncInvalidValue()
Invalid value for incomingSyncExternalPlanSync. |
java.lang.String |
getIncomingSyncExternalPlanSyncMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getIncomingSyncExternalPlanSyncPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getIncomingSyncExternalPlanSyncRange()
Return the range specification for this field |
java.lang.String |
getIncomingSyncExternalPlanSyncValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.sandmessages.IODeclReceive |
getIncomingSyncPing()
Accessor for incomingSyncPing |
static org.sandev.basics.sandmessages.IODeclReceive |
getIncomingSyncPingDefaultValue()
Default value for incomingSyncPing. |
java.lang.String |
getIncomingSyncPingFieldPrintValue()
Return the print name of the incomingSyncPing field. |
static boolean |
getIncomingSyncPingFlag(int fieldflag)
Field flag accessor. |
static org.sandev.basics.sandmessages.IODeclReceive |
getIncomingSyncPingInvalidValue()
Invalid value for incomingSyncPing. |
java.lang.String |
getIncomingSyncPingMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getIncomingSyncPingPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getIncomingSyncPingRange()
Return the range specification for this field |
java.lang.String |
getIncomingSyncPingValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
int |
getInitialPollWaitSeconds()
Accessor for initialPollWaitSeconds |
static int |
getInitialPollWaitSecondsDefaultValue()
Default value for initialPollWaitSeconds. |
java.lang.String |
getInitialPollWaitSecondsFieldPrintValue()
Return the print name of the initialPollWaitSeconds field. |
static boolean |
getInitialPollWaitSecondsFlag(int fieldflag)
Field flag accessor. |
static int |
getInitialPollWaitSecondsInvalidValue()
Invalid value for initialPollWaitSeconds. |
java.lang.String |
getInitialPollWaitSecondsMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getInitialPollWaitSecondsPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getInitialPollWaitSecondsRange()
Return the range specification for this field |
java.lang.String |
getInitialPollWaitSecondsValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.structs.SandPersistMessage |
getInstance(java.lang.String classname,
long id,
org.sandev.basics.util.AuthUser user)
Convenience passthrough call to our configured IDLookup. |
org.sandev.basics.nodecommon.Logger |
getLogger()
Accessor for logger |
static org.sandev.basics.nodecommon.Logger |
getLoggerDefaultValue()
Default value for logger. |
java.lang.String |
getLoggerFieldPrintValue()
Return the print name of the logger field. |
static boolean |
getLoggerFlag(int fieldflag)
Field flag accessor. |
static org.sandev.basics.nodecommon.Logger |
getLoggerInvalidValue()
Invalid value for logger. |
java.lang.String |
getLoggerMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getLoggerPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getLoggerRange()
Return the range specification for this field |
java.lang.String |
getLoggerValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
int |
getLogLevel()
Accessor for logLevel |
static java.lang.String[] |
getLogLevelActualVals()
Return an array of the possible values for this field as Strings. |
static int |
getLogLevelDefaultValue()
Default value for logLevel. |
static java.lang.String |
getLogLevelEnumSummary()
Return a single String summary of the possible enum values for debug and similar purposes. |
java.lang.String |
getLogLevelFieldPrintValue()
Return the print name of the logLevel field. |
static boolean |
getLogLevelFlag(int fieldflag)
Field flag accessor. |
static int |
getLogLevelInvalidValue()
Invalid value for logLevel. |
static java.lang.String[] |
getLogLevelKeyVals()
Return an array of unique keys for the values of this field. |
java.lang.String |
getLogLevelMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
static java.lang.String[] |
getLogLevelPrintVals()
Return an array of the possible values for this field in display format. |
java.lang.String |
getLogLevelPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getLogLevelRange()
Return the range specification for this field |
java.lang.String |
getLogLevelValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.nodecommon.Messager |
getMessager()
Accessor for messager |
static org.sandev.basics.nodecommon.Messager |
getMessagerDefaultValue()
Default value for messager. |
java.lang.String |
getMessagerFieldPrintValue()
Return the print name of the messager field. |
static boolean |
getMessagerFlag(int fieldflag)
Field flag accessor. |
static org.sandev.basics.nodecommon.Messager |
getMessagerInvalidValue()
Invalid value for messager. |
java.lang.String |
getMessagerMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getMessagerPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getMessagerRange()
Return the range specification for this field |
java.lang.String |
getMessagerValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.structs.NodeInstance |
getNodeInstance()
Accessor for nodeInstance |
static org.sandev.basics.structs.NodeInstance |
getNodeInstanceDefaultValue()
Default value for nodeInstance. |
java.lang.String |
getNodeInstanceFieldPrintValue()
Return the print name of the nodeInstance field. |
static boolean |
getNodeInstanceFlag(int fieldflag)
Field flag accessor. |
static org.sandev.basics.structs.NodeInstance |
getNodeInstanceInvalidValue()
Invalid value for nodeInstance. |
java.lang.String |
getNodeInstanceMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getNodeInstanceName()
convenience wrapper method to retrieve our instance name |
java.lang.String |
getNodeInstancePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getNodeInstanceRange()
Return the range specification for this field |
java.lang.String |
getNodeInstanceValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.sandmessages.IODeclCall |
getOutgoingSyncAggregateUpdate()
Accessor for outgoingSyncAggregateUpdate |
static org.sandev.basics.sandmessages.IODeclCall |
getOutgoingSyncAggregateUpdateDefaultValue()
Default value for outgoingSyncAggregateUpdate. |
java.lang.String |
getOutgoingSyncAggregateUpdateFieldPrintValue()
Return the print name of the outgoingSyncAggregateUpdate field. |
static boolean |
getOutgoingSyncAggregateUpdateFlag(int fieldflag)
Field flag accessor. |
static org.sandev.basics.sandmessages.IODeclCall |
getOutgoingSyncAggregateUpdateInvalidValue()
Invalid value for outgoingSyncAggregateUpdate. |
java.lang.String |
getOutgoingSyncAggregateUpdateMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getOutgoingSyncAggregateUpdatePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getOutgoingSyncAggregateUpdateRange()
Return the range specification for this field |
java.lang.String |
getOutgoingSyncAggregateUpdateValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.sandmessages.IODeclCall |
getOutgoingSyncExternalPlanQuery()
Accessor for outgoingSyncExternalPlanQuery |
static org.sandev.basics.sandmessages.IODeclCall |
getOutgoingSyncExternalPlanQueryDefaultValue()
Default value for outgoingSyncExternalPlanQuery. |
java.lang.String |
getOutgoingSyncExternalPlanQueryFieldPrintValue()
Return the print name of the outgoingSyncExternalPlanQuery field. |
static boolean |
getOutgoingSyncExternalPlanQueryFlag(int fieldflag)
Field flag accessor. |
static org.sandev.basics.sandmessages.IODeclCall |
getOutgoingSyncExternalPlanQueryInvalidValue()
Invalid value for outgoingSyncExternalPlanQuery. |
java.lang.String |
getOutgoingSyncExternalPlanQueryMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getOutgoingSyncExternalPlanQueryPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getOutgoingSyncExternalPlanQueryRange()
Return the range specification for this field |
java.lang.String |
getOutgoingSyncExternalPlanQueryValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.nodecommon.Controllable |
getParent()
accessor for parent |
java.lang.String |
getPeerAuthUserLookupNode()
Accessor for peerAuthUserLookupNode |
static java.lang.String |
getPeerAuthUserLookupNodeDefaultValue()
Default value for peerAuthUserLookupNode. |
java.lang.String |
getPeerAuthUserLookupNodeFieldPrintValue()
Return the print name of the peerAuthUserLookupNode field. |
static boolean |
getPeerAuthUserLookupNodeFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getPeerAuthUserLookupNodeInvalidValue()
Invalid value for peerAuthUserLookupNode. |
static int |
getPeerAuthUserLookupNodeLengthMax()
Maximum peerAuthUserLookupNode length is 60 characters |
static int |
getPeerAuthUserLookupNodeLengthNorm()
Normal peerAuthUserLookupNode length is 30 characters |
java.lang.String |
getPeerAuthUserLookupNodeMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getPeerAuthUserLookupNodePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getPeerAuthUserLookupNodeRange()
Return the range specification for this field |
java.lang.String |
getPeerAuthUserLookupNodeValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getPeerIDLookupNode()
Accessor for peerIDLookupNode |
static java.lang.String |
getPeerIDLookupNodeDefaultValue()
Default value for peerIDLookupNode. |
java.lang.String |
getPeerIDLookupNodeFieldPrintValue()
Return the print name of the peerIDLookupNode field. |
static boolean |
getPeerIDLookupNodeFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getPeerIDLookupNodeInvalidValue()
Invalid value for peerIDLookupNode. |
static int |
getPeerIDLookupNodeLengthMax()
Maximum peerIDLookupNode length is 70 characters |
static int |
getPeerIDLookupNodeLengthNorm()
Normal peerIDLookupNode length is 30 characters |
java.lang.String |
getPeerIDLookupNodeMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getPeerIDLookupNodePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getPeerIDLookupNodeRange()
Return the range specification for this field |
java.lang.String |
getPeerIDLookupNodeValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
int |
getPollingIntervalMinutes()
Accessor for pollingIntervalMinutes |
static int |
getPollingIntervalMinutesDefaultValue()
Default value for pollingIntervalMinutes. |
java.lang.String |
getPollingIntervalMinutesFieldPrintValue()
Return the print name of the pollingIntervalMinutes field. |
static boolean |
getPollingIntervalMinutesFlag(int fieldflag)
Field flag accessor. |
static int |
getPollingIntervalMinutesInvalidValue()
Invalid value for pollingIntervalMinutes. |
java.lang.String |
getPollingIntervalMinutesMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getPollingIntervalMinutesPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getPollingIntervalMinutesRange()
Return the range specification for this field |
java.lang.String |
getPollingIntervalMinutesValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getSandNodeErrorMessage()
Accessor for sandNodeErrorMessage |
static java.lang.String |
getSandNodeErrorMessageDefaultValue()
Default value for sandNodeErrorMessage. |
java.lang.String |
getSandNodeErrorMessageFieldPrintValue()
Return the print name of the sandNodeErrorMessage field. |
static boolean |
getSandNodeErrorMessageFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getSandNodeErrorMessageInvalidValue()
Invalid value for sandNodeErrorMessage. |
static int |
getSandNodeErrorMessageLengthMax()
Maximum sandNodeErrorMessage length is 70 characters |
static int |
getSandNodeErrorMessageLengthNorm()
Normal sandNodeErrorMessage length is 30 characters |
java.lang.String |
getSandNodeErrorMessageMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getSandNodeErrorMessagePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSandNodeErrorMessageRange()
Return the range specification for this field |
java.lang.String |
getSandNodeErrorMessageValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
int |
getSandNodeState()
Accessor for sandNodeState |
static java.lang.String[] |
getSandNodeStateActualVals()
Return an array of the possible values for this field as Strings. |
static int |
getSandNodeStateDefaultValue()
Default value for sandNodeState. |
static java.lang.String |
getSandNodeStateEnumSummary()
Return a single String summary of the possible enum values for debug and similar purposes. |
java.lang.String |
getSandNodeStateFieldPrintValue()
Return the print name of the sandNodeState field. |
static boolean |
getSandNodeStateFlag(int fieldflag)
Field flag accessor. |
static int |
getSandNodeStateInvalidValue()
Invalid value for sandNodeState. |
static java.lang.String[] |
getSandNodeStateKeyVals()
Return an array of unique keys for the values of this field. |
java.lang.String |
getSandNodeStateMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
static java.lang.String[] |
getSandNodeStatePrintVals()
Return an array of the possible values for this field in display format. |
java.lang.String |
getSandNodeStatePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSandNodeStateRange()
Return the range specification for this field |
java.lang.String |
getSandNodeStateValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
org.sandev.basics.nodecommon.SandRoot |
getSandRoot()
accessor for sandRoot |
java.lang.String |
getServername()
convenience wrapper method to retrieve our home server name |
org.sandev.basics.util.AuthUser |
getUserForID(long authID)
Calls through to our AuthUserLookup |
org.sandev.basics.util.AuthUser |
getUserFromLogin(java.lang.String username,
java.lang.String password)
Calls through to our AuthUserLookup |
org.sandev.basics.util.AuthUserLookup |
getUserLookup()
initializing accessor for userLookup. |
void |
init()
Initialize all fields to their default values |
protected void |
initMailSender()
Instantiate and initialize our email sender. |
void |
log(int severity,
java.lang.String msg)
Log the message with the specified severity. |
void |
log(java.lang.String msg)
Shorthand for log(Logger.LOGLEVEL_INFO,msg) |
static java.lang.String |
logLevelActual2Print(java.lang.String actualVal)
Utility method to transform an actual value for this field into a print value. |
int |
logLevelLabelToValue(java.lang.String label)
Given a label, return the value for it. |
static int |
logLevelLabelToValueStatic(java.lang.String label)
|
static java.lang.String |
logLevelPrint2Actual(java.lang.String printVal)
Utility method to transform a print value for this field into an actual value. |
static java.lang.String |
logLevelPrint2Key(java.lang.String printVal)
Utility method to transform a print value for this field into a key value. |
java.lang.String |
logLevelValueToLabel(int val)
Given a value, return the declared label for it. |
static java.lang.String |
logLevelValueToLabelStatic(int val)
|
protected void |
notifyStateChange(int prevState,
int currState)
Notify our registered control wrappers of our state change |
protected void |
onFailure()
Override this method to do work when the node enters the failed state. |
protected ExternalPlanSync |
onReceive(ExternalPlanSync msg)
Override this method in your node implementation |
protected org.sandev.basics.sandmessages.Ping |
onReceive(org.sandev.basics.sandmessages.Ping msg)
Override this method in your node implementation |
protected void |
onRestart()
Override this method to do work during startup(). |
protected void |
onResume()
Override this method to do work during resume(). |
protected void |
onShutdown()
Override this method to do work during shutdown(). |
protected void |
onStartup()
Override this method to do work during startup(). |
protected void |
onSuspend()
Override this method to do work during suspend(). |
protected org.sandev.basics.structs.SandMessage |
processMessage(org.sandev.basics.structs.SandMessage sm)
Process the given message and return the result. |
void |
readConfigParamsFromNodeInstance(org.sandev.basics.structs.NodeInstance ni)
Read our configuration parameter values from the our node instance. |
ExternalPlanSync |
receive(ExternalPlanSync msg)
Synchronous inbound ExternalPlanSync |
org.sandev.basics.sandmessages.Ping |
receive(org.sandev.basics.sandmessages.Ping msg)
Synchronous inbound Ping |
org.sandev.basics.structs.SandMessage |
receive(org.sandev.basics.structs.SandMessage msg)
Only those receive methods explicitely declared by the node should actually be called. |
void |
restart()
Restarts a running node by calling shutdown and then startup |
void |
resume()
Resumes a suspended node. |
protected void |
safeSendMail(java.lang.String from,
java.lang.String to,
java.lang.String subj,
java.lang.String body)
Tries to send mail but just logs if failure. |
static java.lang.String |
sandNodeStateActual2Print(java.lang.String actualVal)
Utility method to transform an actual value for this field into a print value. |
int |
sandNodeStateLabelToValue(java.lang.String label)
Given a label, return the value for it. |
static int |
sandNodeStateLabelToValueStatic(java.lang.String label)
|
static java.lang.String |
sandNodeStatePrint2Actual(java.lang.String printVal)
Utility method to transform a print value for this field into an actual value. |
static java.lang.String |
sandNodeStatePrint2Key(java.lang.String printVal)
Utility method to transform a print value for this field into a key value. |
java.lang.String |
sandNodeStateValueToLabel(int val)
Given a value, return the declared label for it. |
static java.lang.String |
sandNodeStateValueToLabelStatic(int val)
|
void |
|