Class BranchViewerImpl
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.remoteRun.BranchViewerImpl
-
- All Implemented Interfaces:
BranchViewer,Disposable
public class BranchViewerImpl extends Object implements BranchViewer
- Author:
- dmitry.neverov
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()intgetBranchesCount()Get number of branches matched by patternMap<SUser,Set<String>>getUpdatedTopics()Get set of updated topics for each user (who has updated topics)booleanisFirstRun()Checks if it is the first time Viewer created for specified storagevoidretrieveCurrentBranchStatus()Get info on current state of the branches from VCSes
-
-
-
Method Detail
-
isFirstRun
public boolean isFirstRun()
Description copied from interface:BranchViewerChecks if it is the first time Viewer created for specified storage- Specified by:
isFirstRunin interfaceBranchViewer- Returns:
- true if it is the first time
-
getBranchesCount
public int getBranchesCount()
Description copied from interface:BranchViewerGet number of branches matched by pattern- Specified by:
getBranchesCountin interfaceBranchViewer- Returns:
- see above
-
retrieveCurrentBranchStatus
public void retrieveCurrentBranchStatus()
Description copied from interface:BranchViewerGet info on current state of the branches from VCSes- Specified by:
retrieveCurrentBranchStatusin interfaceBranchViewer
-
getUpdatedTopics
public Map<SUser,Set<String>> getUpdatedTopics()
Description copied from interface:BranchViewerGet set of updated topics for each user (who has updated topics)- Specified by:
getUpdatedTopicsin interfaceBranchViewer- Returns:
- see above
-
dispose
public void dispose()
- Specified by:
disposein interfaceBranchViewer- Specified by:
disposein interfaceDisposable
-
-