Class GroupTopLevelItem
- java.lang.Object
-
- org.jenkinsci.plugins.categorizedview.GroupTopLevelItem
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<TopLevelItem>
,Item
,ModelObject
,PersistenceRoot
,Saveable
,TopLevelItem
,SearchableModelObject
,SearchItem
,AccessControlled
,OnMaster
public class GroupTopLevelItem extends Object implements TopLevelItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description protected List<TopLevelItem>
nestedItems
-
Constructor Summary
Constructors Constructor Description GroupTopLevelItem(String groupLabel, String regexToIgnoreOnColorComputing)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, hasAnyPermission, hasPermission, hasPermission2
-
-
-
-
Field Detail
-
nestedItems
protected List<TopLevelItem> nestedItems
-
-
Method Detail
-
getFullName
public String getFullName()
- Specified by:
getFullName
in interfaceItem
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceItem
- Specified by:
getDisplayName
in interfaceModelObject
-
getFullDisplayName
public String getFullDisplayName()
- Specified by:
getFullDisplayName
in interfaceItem
-
add
public void add(TopLevelItem item)
-
onLoad
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException
- Specified by:
onLoad
in interfaceItem
- Throws:
IOException
-
onCopiedFrom
public void onCopiedFrom(Item src)
- Specified by:
onCopiedFrom
in interfaceItem
-
onCreatedFromScratch
public void onCreatedFromScratch()
- Specified by:
onCreatedFromScratch
in interfaceItem
-
save
public void save() throws IOException
- Specified by:
save
in interfaceItem
- Specified by:
save
in interfaceSaveable
- Throws:
IOException
-
delete
public void delete() throws IOException, InterruptedException
- Specified by:
delete
in interfaceItem
- Throws:
IOException
InterruptedException
-
checkPermission
public void checkPermission(Permission permission) throws org.springframework.security.access.AccessDeniedException
- Specified by:
checkPermission
in interfaceAccessControlled
- Throws:
org.springframework.security.access.AccessDeniedException
-
getIconColor
public BallColor getIconColor()
-
getLastBuild
public Run getLastBuild()
-
getLastSuccessfulBuild
public Run getLastSuccessfulBuild()
-
getLastStableBuild
public Run getLastStableBuild()
-
getLastFailedBuild
public Run getLastFailedBuild()
-
getLastUnsuccessfulBuild
public Run getLastUnsuccessfulBuild()
-
getLastBuildOfType
public Run getLastBuildOfType(org.jenkinsci.plugins.categorizedview.GroupTopLevelItem.GetBuild getBuild)
-
getShortUrl
public String getShortUrl()
- Specified by:
getShortUrl
in interfaceItem
-
getAbsoluteUrl
@Deprecated public String getAbsoluteUrl()
Deprecated.- Specified by:
getAbsoluteUrl
in interfaceItem
-
getRootDir
public File getRootDir()
- Specified by:
getRootDir
in interfacePersistenceRoot
-
getSearch
public Search getSearch()
- Specified by:
getSearch
in interfaceSearchableModelObject
-
getSearchName
public String getSearchName()
- Specified by:
getSearchName
in interfaceSearchItem
-
getSearchUrl
public String getSearchUrl()
- Specified by:
getSearchUrl
in interfaceSearchItem
-
getSearchIndex
public SearchIndex getSearchIndex()
- Specified by:
getSearchIndex
in interfaceSearchItem
-
getACL
public ACL getACL()
- Specified by:
getACL
in interfaceAccessControlled
-
hasPermission
public boolean hasPermission(Permission permission)
- Specified by:
hasPermission
in interfaceAccessControlled
-
getDescriptor
public TopLevelItemDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<TopLevelItem>
- Specified by:
getDescriptor
in interfaceTopLevelItem
-
getBuildHealth
public HealthReport getBuildHealth()
-
getBuildHealthReports
public List<HealthReport> getBuildHealthReports()
-
isBuildable
public boolean isBuildable()
-
getRelativeNameFrom
public String getRelativeNameFrom(ItemGroup g)
- Specified by:
getRelativeNameFrom
in interfaceItem
-
getRelativeNameFrom
public String getRelativeNameFrom(Item item)
- Specified by:
getRelativeNameFrom
in interfaceItem
-
getAllJobs
public Collection<? extends Job> getAllJobs()
- Specified by:
getAllJobs
in interfaceItem
-
getGroupItems
public List<TopLevelItem> getGroupItems()
-
getNestLevel
public int getNestLevel()
-
hasLink
public boolean hasLink()
-
getGroupClass
public String getGroupClass()
-
getCss
public String getCss()
-
getNestedItems
public List<TopLevelItem> getNestedItems()
-
-