hudson.plugins.clearcase
Class ClearToolHistoryParser

java.lang.Object
  extended by hudson.plugins.clearcase.ClearToolHistoryParser

public class ClearToolHistoryParser
extends java.lang.Object

Parser for the clear tool history output.

Author:
Erik Ramfelt

Field Summary
static int ACTION_INDEX
           
static int COMMENT_INDEX
           
static int DATE_INDEX
           
static int FILE_INDEX
           
static int USER_INDEX
           
static int VERSION_INDEX
           
 
Constructor Summary
ClearToolHistoryParser()
           
 
Method Summary
static java.lang.String getLogFormat()
          Returns the log format that the parser supports
 java.util.List<ClearCaseChangeLogEntry> parse(java.io.Reader inReader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_INDEX

public static final int FILE_INDEX
See Also:
Constant Field Values

USER_INDEX

public static final int USER_INDEX
See Also:
Constant Field Values

COMMENT_INDEX

public static final int COMMENT_INDEX
See Also:
Constant Field Values

ACTION_INDEX

public static final int ACTION_INDEX
See Also:
Constant Field Values

DATE_INDEX

public static final int DATE_INDEX
See Also:
Constant Field Values

VERSION_INDEX

public static final int VERSION_INDEX
See Also:
Constant Field Values
Constructor Detail

ClearToolHistoryParser

public ClearToolHistoryParser()
Method Detail

getLogFormat

public static java.lang.String getLogFormat()
Returns the log format that the parser supports

Returns:
the format for the 'cleartool lshistory' command

parse

public java.util.List<ClearCaseChangeLogEntry> parse(java.io.Reader inReader)
                                              throws java.io.IOException,
                                                     java.text.ParseException
Throws:
java.io.IOException
java.text.ParseException


Copyright © 2007. All Rights Reserved.