Remote Systems
v6.4.1

com.ibm.etools.systems.dstore.miners.command.patterns
Class CommandPattern

java.lang.Object
  extended bycom.ibm.etools.systems.dstore.miners.command.patterns.CommandPattern

public class CommandPattern
extends Object

This class represents a command pattern. It contains a list of output patterns representing the types of output expected from running a command. CommandPattern is used to produce ParsedOutput, enabling output interpretation.


Field Summary
static String Copyright
           
 
Constructor Summary
CommandPattern(Pattern theCommandPattern)
           
 
Method Summary
 void addOutputPattern(OutputPattern op)
           
 String getPattern()
           
 boolean matchCommand(String theLine)
           
 ParsedOutput matchLine(String theLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

CommandPattern

public CommandPattern(Pattern theCommandPattern)
Method Detail

getPattern

public String getPattern()

addOutputPattern

public void addOutputPattern(OutputPattern op)

matchCommand

public boolean matchCommand(String theLine)

matchLine

public ParsedOutput matchLine(String theLine)

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.