April 30th 1 PM ET

Git Integration for Jira Self-Managed (Data Center/Server) Documentation

ScriptRunner – Javadocs – Class Commit.ShortFileInfo

File changes information.

Summary

Constructors

Visibility Signature
public ShortFileInfo(com.bigbrassband.jira.git.services.issuetabpanels.summary.bean.FileInfo fileInfo)

Methods

Type and modifiers Method signature
public Long getLinesAdded()
public Long getLinesChanged()
public Long getLinesDeleted()
public String getPath()
public boolean isAdded()
public boolean isDeleted()
public void setAdded(boolean added)
public void setDeleted(boolean deleted)
public void setLinesAdded( Long linesAdded)
public void setLinesChanged( Long linesChanged)
public void setLinesDeleted( Long linesDeleted)
public void setPath( String path)

Constructors

ShortFileInfo(FileInfo)

Methods

getLinesAdded()

Returns the number of lines added to the file in the git commit.

getLinesChanged()

Returns the number of lines changed in the file in the git commit.

getLinesDeleted()

Returns the number of lines deleted from the file in the git commit.

getPath()

Returns the file path.

isAdded()

Returns whether the file was added in the git commit.

isDeleted()

Returns whether the file was deleted in the git commit.

setAdded(boolean)

setDeleted(boolean)

setLinesAdded(Long)

setLinesChanged(Long)

setLinesDeleted(Long)

setPath(String)

Have feedback about this article? Did we miss something? Let us know!
On this page