jenkins.plugins.simpleclearcase
Class SimpleClearCaseChangeLogEntry
java.lang.Object
hudson.scm.ChangeLogSet.Entry
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
|
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)
|
| 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 |
LSHISTORY_FORMATTING
public static final java.lang.String LSHISTORY_FORMATTING
- See Also:
- Constant Field Values
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)
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.