org.cli4j
Class Node

java.lang.Object
  |
  +--org.cli4j.Node

public class Node
extends java.lang.Object

Version:
@(#) $Id: Node.html,v 1.2 2001/12/16 05:14:50 gmcallister Exp $
Author:
Glenn McAllister

Constructor Summary
Node()
           
 
Method Summary
 void addArgument(java.lang.String argument)
           
 void addNode(Node child)
           
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.util.List getArguments()
           
 java.lang.String getBriefHelp()
           
 Command getCommand()
           
 boolean getFork()
           
 java.lang.String getHelp()
           
 java.lang.String getName()
           
 Node getNode(java.lang.String nodeName)
           
 java.lang.String[] getNodeNames()
           
 Node[] getNodes()
           
 Node getParent()
           
 boolean getShowSubCommands()
           
 boolean getSticky()
           
 java.lang.String getSystem()
           
 int hashCode()
           
 void setBriefHelp(java.lang.String help)
           
 void setFork(boolean fork)
           
 void setHelp(java.lang.String help)
           
 void setJava(java.lang.String className)
           
 void setName(java.lang.String nodeName)
           
 void setShowSubCommands(boolean show)
           
 void setSticky(boolean pushMe)
           
 void setSystem(java.lang.String sysCommand)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

setJava

public void setJava(java.lang.String className)
             throws CliException

getCommand

public Command getCommand()

setSystem

public void setSystem(java.lang.String sysCommand)
               throws CliException

getSystem

public java.lang.String getSystem()

setFork

public void setFork(boolean fork)

getFork

public boolean getFork()

addNode

public void addNode(Node child)

getNodes

public Node[] getNodes()

getNodeNames

public java.lang.String[] getNodeNames()

getNode

public Node getNode(java.lang.String nodeName)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String nodeName)

getBriefHelp

public java.lang.String getBriefHelp()

setBriefHelp

public void setBriefHelp(java.lang.String help)

getShowSubCommands

public boolean getShowSubCommands()

setShowSubCommands

public void setShowSubCommands(boolean show)

getSticky

public boolean getSticky()

setSticky

public void setSticky(boolean pushMe)

getParent

public Node getParent()

getHelp

public java.lang.String getHelp()

setHelp

public void setHelp(java.lang.String help)

addArgument

public void addArgument(java.lang.String argument)

getArguments

public java.util.List getArguments()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object