jenkins.plugins.simpleclearcase
Class SimpleClearCaseChangeLogEntry

java.lang.Object
  extended by hudson.scm.ChangeLogSet.Entry
      extended by jenkins.plugins.simpleclearcase.SimpleClearCaseChangeLogEntry

public class SimpleClearCaseChangeLogEntry
extends hudson.scm.ChangeLogSet.Entry

Author:
etavsam This class represents a entry in the formatted lshistory output. the formatting is according to LSHISTORY_FORMATTING

Field Summary
static java.lang.String LSHISTORY_FORMATTING
           
 
Constructor Summary
SimpleClearCaseChangeLogEntry(java.util.Date date, java.lang.String user, java.lang.String path, java.lang.String version, java.lang.String comment, java.lang.String operation, boolean isUnix)
           
 
Method Summary
 void addPath(java.lang.String path)
           
 java.util.Collection<java.lang.String> getAffectedPaths()
           
 hudson.model.User getAuthor()
           
 java.lang.String getComment()
           
 java.util.Date getDate()
           
 java.lang.String getMsg()
           
static java.lang.String getName(java.lang.String filePath, boolean isUnix)
           
 java.lang.String getOperation()
           
static java.lang.String getPath(java.lang.String filePath, boolean isUnix)
           
 java.lang.String getUser()
           
 java.lang.String getVersion()
           
 boolean isUnix()
           
 
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getAffectedFiles, getCommitId, getMsgAnnotated, getMsgEscaped, getParent, getTimestamp, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LSHISTORY_FORMATTING

public static final java.lang.String LSHISTORY_FORMATTING
See Also:
Constant Field Values
Constructor Detail

SimpleClearCaseChangeLogEntry

public SimpleClearCaseChangeLogEntry(java.util.Date date,
                                     java.lang.String user,
                                     java.lang.String path,
                                     java.lang.String version,
                                     java.lang.String comment,
                                     java.lang.String operation,
                                     boolean isUnix)
Method Detail

getDate

public java.util.Date getDate()

addPath

public void addPath(java.lang.String path)

getUser

public java.lang.String getUser()

getVersion

public java.lang.String getVersion()

getComment

public java.lang.String getComment()

getOperation

public java.lang.String getOperation()

isUnix

public boolean isUnix()

getMsg

public java.lang.String getMsg()
Specified by:
getMsg in class hudson.scm.ChangeLogSet.Entry

getAuthor

public hudson.model.User getAuthor()
Specified by:
getAuthor in class hudson.scm.ChangeLogSet.Entry

getAffectedPaths

public java.util.Collection<java.lang.String> getAffectedPaths()
Specified by:
getAffectedPaths in class hudson.scm.ChangeLogSet.Entry

getName

public static java.lang.String getName(java.lang.String filePath,
                                       boolean isUnix)
Parameters:
filePath -
isUnix -
Returns:
the filename from path with the convention of unix

getPath

public static java.lang.String getPath(java.lang.String filePath,
                                       boolean isUnix)
Parameters:
filePath -
isUnix -
Returns:
the path without the filename without trailing slash


Copyright © 2004-2011. All Rights Reserved.