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 void
dispose()
int
getBranchesCount()
Get number of branches matched by patternMap<SUser,Set<String>>
getUpdatedTopics()
Get set of updated topics for each user (who has updated topics)boolean
isFirstRun()
Checks if it is the first time Viewer created for specified storagevoid
retrieveCurrentBranchStatus()
Get info on current state of the branches from VCSes
-
-
-
Method Detail
-
isFirstRun
public boolean isFirstRun()
Description copied from interface:BranchViewer
Checks if it is the first time Viewer created for specified storage- Specified by:
isFirstRun
in interfaceBranchViewer
- Returns:
- true if it is the first time
-
getBranchesCount
public int getBranchesCount()
Description copied from interface:BranchViewer
Get number of branches matched by pattern- Specified by:
getBranchesCount
in interfaceBranchViewer
- Returns:
- see above
-
retrieveCurrentBranchStatus
public void retrieveCurrentBranchStatus()
Description copied from interface:BranchViewer
Get info on current state of the branches from VCSes- Specified by:
retrieveCurrentBranchStatus
in interfaceBranchViewer
-
getUpdatedTopics
public Map<SUser,Set<String>> getUpdatedTopics()
Description copied from interface:BranchViewer
Get set of updated topics for each user (who has updated topics)- Specified by:
getUpdatedTopics
in interfaceBranchViewer
- Returns:
- see above
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceBranchViewer
- Specified by:
dispose
in interfaceDisposable
-
-