public class GroupTopLevelItem extends Object implements hudson.model.TopLevelItem
| Modifier and Type | Field and Description |
|---|---|
protected List<hudson.model.TopLevelItem> |
nestedItems |
hudson.model.TopLevelItem |
target |
| Constructor and Description |
|---|
GroupTopLevelItem(String groupLabel) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(hudson.model.TopLevelItem item) |
void |
checkPermission(hudson.security.Permission permission) |
hudson.model.BallColor |
chooseNextColor(hudson.model.BallColor res,
hudson.model.BallColor iconColor) |
void |
delete() |
String |
getAbsoluteUrl()
Deprecated.
|
hudson.security.ACL |
getACL() |
Collection<? extends hudson.model.Job> |
getAllJobs() |
hudson.model.HealthReport |
getBuildHealth() |
List<hudson.model.HealthReport> |
getBuildHealthReports() |
String |
getCss() |
hudson.model.TopLevelItemDescriptor |
getDescriptor() |
String |
getDisplayName() |
String |
getFullDisplayName() |
String |
getFullName() |
String |
getGroupClass() |
List<hudson.model.TopLevelItem> |
getGroupItems() |
hudson.model.BallColor |
getIconColor() |
hudson.model.Run |
getLastBuild() |
hudson.model.Run |
getLastBuildOfType(org.jenkinsci.plugins.categorizedview.GroupTopLevelItem.GetBuild getBuild) |
hudson.model.Run |
getLastFailedBuild() |
hudson.model.Run |
getLastStableBuild() |
hudson.model.Run |
getLastSuccessfulBuild() |
hudson.model.Run |
getLastUnsuccessfulBuild() |
String |
getName() |
List<hudson.model.TopLevelItem> |
getNestedItems() |
int |
getNestLevel() |
jenkins.model.Jenkins |
getParent() |
String |
getRelativeNameFrom(hudson.model.Item item) |
String |
getRelativeNameFrom(hudson.model.ItemGroup g) |
File |
getRootDir() |
hudson.search.Search |
getSearch() |
hudson.search.SearchIndex |
getSearchIndex() |
String |
getSearchName() |
String |
getSearchUrl() |
String |
getShortUrl() |
String |
getUrl() |
boolean |
hasLink() |
boolean |
hasPermission(hudson.security.Permission permission) |
boolean |
isBuildable() |
void |
onCopiedFrom(hudson.model.Item src) |
void |
onCreatedFromScratch() |
void |
onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name) |
void |
save() |
public hudson.model.TopLevelItem target
protected List<hudson.model.TopLevelItem> nestedItems
public GroupTopLevelItem(String groupLabel)
public String getName()
getName in interface hudson.model.Itempublic String getFullName()
getFullName in interface hudson.model.Itempublic String getDisplayName()
getDisplayName in interface hudson.model.ItemgetDisplayName in interface hudson.model.ModelObjectpublic String getFullDisplayName()
getFullDisplayName in interface hudson.model.Itempublic void add(hudson.model.TopLevelItem item)
public void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name)
throws IOException
onLoad in interface hudson.model.ItemIOExceptionpublic void onCopiedFrom(hudson.model.Item src)
onCopiedFrom in interface hudson.model.Itempublic void onCreatedFromScratch()
onCreatedFromScratch in interface hudson.model.Itempublic void save()
throws IOException
save in interface hudson.model.Itemsave in interface hudson.model.SaveableIOExceptionpublic void delete()
throws IOException,
InterruptedException
delete in interface hudson.model.ItemIOExceptionInterruptedExceptionpublic void checkPermission(hudson.security.Permission permission)
throws org.acegisecurity.AccessDeniedException
checkPermission in interface hudson.security.AccessControlledorg.acegisecurity.AccessDeniedExceptionpublic hudson.model.BallColor getIconColor()
public hudson.model.Run getLastBuild()
public hudson.model.Run getLastSuccessfulBuild()
public hudson.model.Run getLastStableBuild()
public hudson.model.Run getLastFailedBuild()
public hudson.model.Run getLastUnsuccessfulBuild()
public hudson.model.Run getLastBuildOfType(org.jenkinsci.plugins.categorizedview.GroupTopLevelItem.GetBuild getBuild)
public hudson.model.BallColor chooseNextColor(hudson.model.BallColor res,
hudson.model.BallColor iconColor)
public String getUrl()
getUrl in interface hudson.model.Itempublic String getShortUrl()
getShortUrl in interface hudson.model.Item@Deprecated public String getAbsoluteUrl()
getAbsoluteUrl in interface hudson.model.Itempublic File getRootDir()
getRootDir in interface hudson.model.PersistenceRootpublic hudson.search.Search getSearch()
getSearch in interface hudson.search.SearchableModelObjectpublic String getSearchName()
getSearchName in interface hudson.search.SearchItempublic String getSearchUrl()
getSearchUrl in interface hudson.search.SearchItempublic hudson.search.SearchIndex getSearchIndex()
getSearchIndex in interface hudson.search.SearchItempublic hudson.security.ACL getACL()
getACL in interface hudson.security.AccessControlledpublic boolean hasPermission(hudson.security.Permission permission)
hasPermission in interface hudson.security.AccessControlledpublic jenkins.model.Jenkins getParent()
getParent in interface hudson.model.Itempublic hudson.model.TopLevelItemDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.model.TopLevelItem>getDescriptor in interface hudson.model.TopLevelItempublic hudson.model.HealthReport getBuildHealth()
public List<hudson.model.HealthReport> getBuildHealthReports()
public boolean isBuildable()
public String getRelativeNameFrom(hudson.model.ItemGroup g)
getRelativeNameFrom in interface hudson.model.Itempublic String getRelativeNameFrom(hudson.model.Item item)
getRelativeNameFrom in interface hudson.model.Itempublic Collection<? extends hudson.model.Job> getAllJobs()
getAllJobs in interface hudson.model.Itempublic List<hudson.model.TopLevelItem> getGroupItems()
public int getNestLevel()
public boolean hasLink()
public String getGroupClass()
public String getCss()
public List<hudson.model.TopLevelItem> getNestedItems()
Copyright © 2004-2014. All Rights Reserved.