com.tikal.jenkins.plugins.multijob.views
Class ProjectWrapper
java.lang.Object
com.tikal.jenkins.plugins.multijob.views.AbstractWrapper
com.tikal.jenkins.plugins.multijob.views.ProjectWrapper
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.TopLevelItem>, hudson.model.Item, hudson.model.ModelObject, hudson.model.PersistenceRoot, hudson.model.Saveable, hudson.model.TopLevelItem, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled
public class ProjectWrapper
- extends AbstractWrapper
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from interface hudson.model.Item |
BUILD, CANCEL, CONFIGURE, CREATE, DELETE, DISCOVER, EXTENDED_READ, PERMISSIONS, READ, WIPEOUT, WORKSPACE |
Fields inherited from interface hudson.model.Saveable |
NOOP |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectWrapper
public ProjectWrapper(MultiJobProject multijob,
hudson.model.AbstractProject project,
BuildState buildState,
int nestLevel)
getAllJobs
public Collection<? extends hudson.model.Job> getAllJobs()
getName
public String getName()
getFullName
public String getFullName()
getDisplayName
public String getDisplayName()
getFullDisplayName
public String getFullDisplayName()
getUrl
public String getUrl()
- Specified by:
getUrl
in interface hudson.model.Item
- Overrides:
getUrl
in class AbstractWrapper
getShortUrl
public String getShortUrl()
- Specified by:
getShortUrl
in interface hudson.model.Item
- Overrides:
getShortUrl
in class AbstractWrapper
getAbsoluteUrl
@Deprecated
public String getAbsoluteUrl()
- Deprecated.
- Specified by:
getAbsoluteUrl
in interface hudson.model.Item
- Overrides:
getAbsoluteUrl
in class AbstractWrapper
onLoad
public void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name)
throws IOException
- Specified by:
onLoad
in interface hudson.model.Item
- Overrides:
onLoad
in class AbstractWrapper
- Throws:
IOException
onCopiedFrom
public void onCopiedFrom(hudson.model.Item src)
- Specified by:
onCopiedFrom
in interface hudson.model.Item
- Overrides:
onCopiedFrom
in class AbstractWrapper
onCreatedFromScratch
public void onCreatedFromScratch()
- Specified by:
onCreatedFromScratch
in interface hudson.model.Item
- Overrides:
onCreatedFromScratch
in class AbstractWrapper
save
public void save()
throws IOException
- Specified by:
save
in interface hudson.model.Item
- Specified by:
save
in interface hudson.model.Saveable
- Overrides:
save
in class AbstractWrapper
- Throws:
IOException
delete
public void delete()
throws IOException,
InterruptedException
- Specified by:
delete
in interface hudson.model.Item
- Overrides:
delete
in class AbstractWrapper
- Throws:
IOException
InterruptedException
getRootDir
public File getRootDir()
- Specified by:
getRootDir
in interface hudson.model.PersistenceRoot
- Overrides:
getRootDir
in class AbstractWrapper
getSearch
public hudson.search.Search getSearch()
- Specified by:
getSearch
in interface hudson.search.SearchableModelObject
- Overrides:
getSearch
in class AbstractWrapper
getSearchName
public String getSearchName()
- Specified by:
getSearchName
in interface hudson.search.SearchItem
- Overrides:
getSearchName
in class AbstractWrapper
getSearchUrl
public String getSearchUrl()
- Specified by:
getSearchUrl
in interface hudson.search.SearchItem
- Overrides:
getSearchUrl
in class AbstractWrapper
getSearchIndex
public hudson.search.SearchIndex getSearchIndex()
- Specified by:
getSearchIndex
in interface hudson.search.SearchItem
- Overrides:
getSearchIndex
in class AbstractWrapper
getACL
public hudson.security.ACL getACL()
- Specified by:
getACL
in interface hudson.security.AccessControlled
- Overrides:
getACL
in class AbstractWrapper
checkPermission
public void checkPermission(hudson.security.Permission permission)
throws org.acegisecurity.AccessDeniedException
- Specified by:
checkPermission
in interface hudson.security.AccessControlled
- Overrides:
checkPermission
in class AbstractWrapper
- Throws:
org.acegisecurity.AccessDeniedException
hasPermission
public boolean hasPermission(hudson.security.Permission permission)
- Specified by:
hasPermission
in interface hudson.security.AccessControlled
- Overrides:
hasPermission
in class AbstractWrapper
getParent
public hudson.model.Hudson getParent()
- Specified by:
getParent
in interface hudson.model.Item
- Overrides:
getParent
in class AbstractWrapper
getNestLevel
public int getNestLevel()
getDescriptor
public hudson.model.TopLevelItemDescriptor getDescriptor()
- Specified by:
getDescriptor
in interface hudson.model.Describable<hudson.model.TopLevelItem>
- Specified by:
getDescriptor
in interface hudson.model.TopLevelItem
- Overrides:
getDescriptor
in class AbstractWrapper
getLastFailedBuild
public hudson.model.Run getLastFailedBuild()
getLastSuccessfulBuild
public hudson.model.Run getLastSuccessfulBuild()
getLastBuild
public hudson.model.Run getLastBuild()
getProject
public hudson.model.AbstractProject getProject()
getIconColor
public hudson.model.BallColor getIconColor()
getCss
public String getCss()
getBuildHealth
public hudson.model.HealthReport getBuildHealth()
- Overrides:
getBuildHealth
in class AbstractWrapper
getBuildHealthReports
public List<hudson.model.HealthReport> getBuildHealthReports()
- Overrides:
getBuildHealthReports
in class AbstractWrapper
isBuildable
public boolean isBuildable()
- Overrides:
isBuildable
in class AbstractWrapper
getRelativeNameFrom
public String getRelativeNameFrom(hudson.model.ItemGroup g)
getRelativeNameFrom
public String getRelativeNameFrom(hudson.model.Item item)
Copyright © 2004-2012. All Rights Reserved.