RSE
Release 1.0

org.eclipse.rse.dstore.universal.miners.command.patterns
Class CommandPattern

java.lang.Object
  extended byorg.eclipse.rse.dstore.universal.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.


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
 

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)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.