@ExportedBean(defaultVisibility=999) public class BuildData extends Object implements hudson.model.Action, Serializable, Cloneable
Actionable.getActions() and
remember the Git related information of that build.| Modifier and Type | Field and Description |
|---|---|
Map<String,Build> |
buildsByBranchName
Map of branch name -> build (Branch name to last built SHA1).
|
Build |
lastBuild
The last build that we did (among the values in
buildsByBranchName.) |
| Constructor and Description |
|---|
BuildData() |
| Modifier and Type | Method and Description |
|---|---|
BuildData |
clone() |
hudson.model.Api |
getApi() |
Map<String,Build> |
getBuildsByBranchName() |
String |
getDisplayName() |
String |
getIconFileName() |
Build |
getLastBuildOfBranch(String branch) |
Revision |
getLastBuiltRevision() |
String |
getUrlName() |
boolean |
hasBeenBuilt(org.eclipse.jgit.lib.ObjectId sha1)
Return true if the history shows this SHA1 has been built.
|
Object |
readResolve() |
void |
saveBuild(Build build) |
String |
toString() |
public Map<String,Build> buildsByBranchName
BuildData
is attached to)public Build lastBuild
buildsByBranchName.)public String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic Object readResolve()
public boolean hasBeenBuilt(org.eclipse.jgit.lib.ObjectId sha1)
sha1 - public void saveBuild(Build build)
@Exported public Revision getLastBuiltRevision()
public hudson.model.Api getApi()
Copyright © 2004-2015 Hudson. All Rights Reserved.