Class ModificationFilesBean
- java.lang.Object
-
- jetbrains.buildServer.controllers.changes.ModificationFilesBean
-
public class ModificationFilesBean extends Object
- Author:
- Pavel.Sher Date: 04.09.2006
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_FILES_TO_SHOW
-
Constructor Summary
Constructors Constructor Description ModificationFilesBean(VcsModificationEx modification, ChangeStatus changeStatus)Creates bean
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetBuildId()StringgetBuildTypeId()For personal build types returns id of parent build typeList<FilteredVcsChange>getChangesToShow()intgetExceededFilesCount()StringgetHighlightChange()SVcsModificationgetModification()longgetModificationId()intgetModifiedFilesCount()SBuildTypegetOwnerBuildType()booleanisFilesLimitExceeded()booleanisOpenFileLinksInSameTab()booleanisShowAllFilesLink()voidsetHighlightChange(String highlightChange)voidsetOpenFileLinksInSameTab(boolean openFileLinksInSameTab)voidsetOwnerBuild(SBuild build)Sets build id where this modification appearedvoidsetOwnerBuildType(SBuildType ownerBuildType)voidsetShowChainFiles(String showChain)voidsetShowMergedFiles(boolean showMergedFiles)
-
-
-
Field Detail
-
MAX_FILES_TO_SHOW
public static final int MAX_FILES_TO_SHOW
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ModificationFilesBean
public ModificationFilesBean(@NotNull VcsModificationEx modification, @NotNull ChangeStatus changeStatus)Creates bean- Parameters:
modification- a modification
-
-
Method Detail
-
setOwnerBuildType
public void setOwnerBuildType(SBuildType ownerBuildType)
- Parameters:
ownerBuildType- build type which owns this modification, for personal modifications this should be RemoteBuildType
-
setShowMergedFiles
public void setShowMergedFiles(boolean showMergedFiles)
- Parameters:
showMergedFiles- if set to true this bean will contain not only files from modification, but also from it's duplicates
-
setOwnerBuild
public void setOwnerBuild(SBuild build)
Sets build id where this modification appeared- Parameters:
build-
-
getChangesToShow
public List<FilteredVcsChange> getChangesToShow()
-
isShowAllFilesLink
public boolean isShowAllFilesLink()
-
isFilesLimitExceeded
public boolean isFilesLimitExceeded()
-
getModifiedFilesCount
public int getModifiedFilesCount()
-
getExceededFilesCount
public int getExceededFilesCount()
-
getModificationId
public long getModificationId()
-
getOwnerBuildType
public SBuildType getOwnerBuildType()
-
getBuildTypeId
public String getBuildTypeId()
For personal build types returns id of parent build type- Returns:
-
getBuildId
public long getBuildId()
-
getModification
public SVcsModification getModification()
-
isOpenFileLinksInSameTab
public boolean isOpenFileLinksInSameTab()
-
setOpenFileLinksInSameTab
public void setOpenFileLinksInSameTab(boolean openFileLinksInSameTab)
-
getHighlightChange
public String getHighlightChange()
-
setHighlightChange
public void setHighlightChange(String highlightChange)
-
setShowChainFiles
public void setShowChainFiles(String showChain)
-
-