hudson.plugins.accurev
Class AccurevTransaction

java.lang.Object
  extended by hudson.scm.ChangeLogSet.Entry
      extended by hudson.plugins.accurev.AccurevTransaction

@ExportedBean(defaultVisibility=999)
public final class AccurevTransaction
extends hudson.scm.ChangeLogSet.Entry

One commit.


Constructor Summary
AccurevTransaction()
           
 
Method Summary
 void addAffectedPath(String path)
           
 String getAction()
          Getter for action Enables accurate filtering by AccuRev transaction type since the metod getEditType censors the actual type.
 Collection<String> getAffectedPaths()
          Returns a set of paths in the workspace that was affected by this change.
 hudson.model.User getAuthor()
           
 Date getDate()
           
 hudson.scm.EditType getEditType()
           
 int getId()
          Getter for id Enables logging with AccuRev transaction id
 String getMsg()
           
 String getRevision()
           
 String getUser()
           
 void setAction(String action)
           
 void setDate(Date date)
           
 void setId(int id)
          Setter for id
 void setMsg(String msg)
           
protected  void setParent(hudson.scm.ChangeLogSet parent)
           
 void setRevision(String revision)
           
 void setUser(String author)
           
 String toString()
           
 
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getAffectedFiles, getCommitId, getMsgAnnotated, getMsgEscaped, getParent, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccurevTransaction

public AccurevTransaction()
Method Detail

getRevision

@Exported
public String getRevision()

setRevision

public void setRevision(String revision)

getAuthor

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

getAffectedPaths

@Exported
public Collection<String> getAffectedPaths()
Returns a set of paths in the workspace that was affected by this change.

Contains string like 'foo/bar/zot'. No leading/trailing '/', and separator must be normalized to '/'.

Specified by:
getAffectedPaths in class hudson.scm.ChangeLogSet.Entry
Returns:
never null.

setUser

public void setUser(String author)

getUser

@Exported
public String getUser()

getDate

@Exported
public Date getDate()

setDate

public void setDate(Date date)

getMsg

@Exported
public String getMsg()
Specified by:
getMsg in class hudson.scm.ChangeLogSet.Entry

setMsg

public void setMsg(String msg)

setAction

public void setAction(String action)

setParent

protected void setParent(hudson.scm.ChangeLogSet parent)
Overrides:
setParent in class hudson.scm.ChangeLogSet.Entry

getEditType

@Exported
public hudson.scm.EditType getEditType()

addAffectedPath

public void addAffectedPath(String path)

getAction

@Exported
public String getAction()
Getter for action Enables accurate filtering by AccuRev transaction type since the metod getEditType censors the actual type.

Returns:
transaction type of the AccuRev transaction

getId

@Exported
public int getId()
Getter for id Enables logging with AccuRev transaction id

Returns:
transaction id of the AccuRev transaction

setId

public void setId(int id)
Setter for id

Parameters:
id - transaction id of the AccuRev transaction

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2013. All Rights Reserved.