@ExportedBean(defaultVisibility=999)
public class UserScoreProperty
extends hudson.model.UserProperty
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_HISTORY_LENGTH |
Constructor and Description |
---|
UserScoreProperty() |
UserScoreProperty(double score,
boolean participatingInGame,
List<ScoreHistoryEntry> scoreHistoryEntries) |
Modifier and Type | Method and Description |
---|---|
protected void |
addScoreHistoryEntry(ScoreHistoryEntry scoreHistoryEntry) |
boolean |
equals(Object obj) |
List<ScoreHistoryEntry> |
getMostRecentScores() |
double |
getScore() |
hudson.model.User |
getUser() |
int |
hashCode() |
boolean |
isParticipatingInGame() |
void |
rememberAccountableBuilds(List<hudson.model.AbstractBuild<?,?>> accountableBuilds,
double score) |
void |
setScore(double score) |
String |
toString() |
protected static final int MAX_HISTORY_LENGTH
public UserScoreProperty()
@DataBoundConstructor public UserScoreProperty(double score, boolean participatingInGame, List<ScoreHistoryEntry> scoreHistoryEntries)
@Exported public hudson.model.User getUser()
@Exported public double getScore()
public void setScore(double score)
@Exported public boolean isParticipatingInGame()
public void rememberAccountableBuilds(List<hudson.model.AbstractBuild<?,?>> accountableBuilds, double score)
protected void addScoreHistoryEntry(ScoreHistoryEntry scoreHistoryEntry)
@Exported public List<ScoreHistoryEntry> getMostRecentScores()
Copyright © 2004-2015. All Rights Reserved.