|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.iseries.remotebuild.CLValue
com.ibm.etools.iseries.remotebuild.CLCommand
public class CLCommand
This class implements a representation of a CL Command. It allows the command to be manipulated and produces a standard CL representation of the command on an output stream.
This is a subclass of CLValue since commands are sometimes parameter values of other commands.
| Field Summary | |
|---|---|
static String |
Copyright
|
| Constructor Summary | |
|---|---|
CLCommand(String name)
Build a new CLCommand with a particular name. |
|
| Method Summary | |
|---|---|
CLCommand |
add(CLParameter parameter)
Adds a parameter to the command. |
CLCommand |
add(String keyword,
CLValue val1)
Adds a parameter with a single value to the command. |
protected boolean |
contains(CLValue child)
Returns true if and only if this command contains a parameter value at any depth that matches the argument. |
String |
getName()
Returns the name of this command. |
String |
toString()
Returns a String that represents the command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String Copyright
| Constructor Detail |
|---|
public CLCommand(String name)
| Method Detail |
|---|
public CLCommand add(CLParameter parameter)
public CLCommand add(String keyword,
CLValue val1)
CLParameterpublic String getName()
public String toString()
toString in class CLValueprotected boolean contains(CLValue child)
contains in class CLValue
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||