public class BuildsStartedStats extends Object
Constructor and Description |
---|
BuildsStartedStats(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event,
int totalBuildsToStart,
int startedBuilds)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent |
getEvent()
The event that started the build(s).
|
int |
getStartedBuilds()
The amount of builds that have been started so far.
|
int |
getTotalBuildsToStart()
The total amount of builds that have been triggered.
|
void |
setEvent(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event)
The event that started the build(s).
|
String |
toString() |
public BuildsStartedStats(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event, int totalBuildsToStart, int startedBuilds)
event
- the event that started the build(s).totalBuildsToStart
- the total amount of builds that have been triggered.startedBuilds
- the amount of builds that have been started so far.public com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent getEvent()
public void setEvent(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event)
event
- the event that started the build(s).public int getStartedBuilds()
public int getTotalBuildsToStart()
Copyright © 2016–2020. All rights reserved.