| |
|
| java.lang.Object java.util.Observable org.cougaar.tools.csmart.ui.console.NodeModel
NodeModel | public class NodeModel extends Observable (Code) | | ClassName: NodeModel
Description: The class contains all required data structures to
represents a Node within CSMART. Modifications to key data can be
monitored via a listener.
|
STATE_ATTACHING | final public static String STATE_ATTACHING(Code) | | |
STATE_STARTING | final public static String STATE_STARTING(Code) | | |
STATE_STOPPING | final public static String STATE_STOPPING(Code) | | |
STATE_UNATTACHED | final public static String STATE_UNATTACHED(Code) | | |
NodeModel | public NodeModel(NodeInfo info, CSMARTConsoleModel cmodel)(Code) | | Constructs a new NodeModel object based on the informtion in NodeInfo .
Parameters: info - A NodeInfo object containing required data for this node. Parameters: cmodel - CSMARTConsoleModel A pointer to the Console Model Object. |
attach | public void attach()(Code) | | |
getAgentComponentDescriptions | public ArrayList getAgentComponentDescriptions(String nodeName, String agentName)(Code) | | Get description of agents.
Returns an array of strings.
|
getHostPropertyValue | public Object getHostPropertyValue(String hostName, String propertyName)(Code) | | Get host properties from experiment if it exists.
|
getLogFileName | public String getLogFileName()(Code) | | The Logfile for this node. |
getNodeName | public String getNodeName()(Code) | | The Name of this Node |
getNodePropertyValue | protected Object getNodePropertyValue(String nodeName, String propertyName)(Code) | | Get node properties from experiment if it exists.
|
getStatusButton | public NodeStatusButton getStatusButton()(Code) | | Returns a handle to the NodeStatusButton for this Node.
The NodeStatusButton for this Node |
restart | public void restart()(Code) | | Restart is the same as start, except we first clear the
persistent data.
|
setFilter | public void setFilter(ConsoleNodeOutputFilter filter)(Code) | | Sets a filter on the Console Node Output.
Parameters: filter - The new ConsoleNodeOutputFilter |
setNotification | public void setNotification(String notifyCondition, boolean notifyOnStdErr)(Code) | | |
start | public void start()(Code) | | The CreateNodeThread must be created each time that we start
or attach; threads can only be run once; they're not reusable.
|
stop | public void stop()(Code) | | Tell the node to stop.
|
stopped | public void stopped()(Code) | | The node has stopped. Called by ConsoleNodeListener.
|
|
|
|