com.tikal.jenkins.plugins.multijob.views
Class AbstractWrapper

java.lang.Object
  extended by com.tikal.jenkins.plugins.multijob.views.AbstractWrapper
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
Direct Known Subclasses:
PhaseWrapper, ProjectWrapper

public abstract class AbstractWrapper
extends Object
implements hudson.model.TopLevelItem


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
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
 
Constructor Summary
AbstractWrapper()
           
 
Method Summary
 void checkPermission(hudson.security.Permission permission)
           
 void delete()
           
 String getAbsoluteUrl()
          Deprecated. 
 hudson.security.ACL getACL()
           
 hudson.model.HealthReport getBuildHealth()
           
 List<hudson.model.HealthReport> getBuildHealthReports()
           
 hudson.model.TopLevelItemDescriptor getDescriptor()
           
 hudson.model.Hudson getParent()
           
 File getRootDir()
           
 hudson.search.Search getSearch()
           
 hudson.search.SearchIndex getSearchIndex()
           
 String getSearchName()
           
 String getSearchUrl()
           
 String getShortUrl()
           
 String getUrl()
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.model.Item
getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getRelativeNameFrom, getRelativeNameFrom
 

Constructor Detail

AbstractWrapper

public AbstractWrapper()
Method Detail

onLoad

public void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
                   String name)
            throws IOException
Specified by:
onLoad in interface hudson.model.Item
Throws:
IOException

onCopiedFrom

public void onCopiedFrom(hudson.model.Item src)
Specified by:
onCopiedFrom in interface hudson.model.Item

onCreatedFromScratch

public void onCreatedFromScratch()
Specified by:
onCreatedFromScratch in interface hudson.model.Item

save

public void save()
          throws IOException
Specified by:
save in interface hudson.model.Item
Specified by:
save in interface hudson.model.Saveable
Throws:
IOException

delete

public void delete()
            throws IOException,
                   InterruptedException
Specified by:
delete in interface hudson.model.Item
Throws:
IOException
InterruptedException

checkPermission

public void checkPermission(hudson.security.Permission permission)
                     throws org.acegisecurity.AccessDeniedException
Specified by:
checkPermission in interface hudson.security.AccessControlled
Throws:
org.acegisecurity.AccessDeniedException

getUrl

public String getUrl()
Specified by:
getUrl in interface hudson.model.Item

getShortUrl

public String getShortUrl()
Specified by:
getShortUrl in interface hudson.model.Item

getAbsoluteUrl

@Deprecated
public String getAbsoluteUrl()
Deprecated. 

Specified by:
getAbsoluteUrl in interface hudson.model.Item

getRootDir

public File getRootDir()
Specified by:
getRootDir in interface hudson.model.PersistenceRoot

getSearch

public hudson.search.Search getSearch()
Specified by:
getSearch in interface hudson.search.SearchableModelObject

getSearchName

public String getSearchName()
Specified by:
getSearchName in interface hudson.search.SearchItem

getSearchUrl

public String getSearchUrl()
Specified by:
getSearchUrl in interface hudson.search.SearchItem

getSearchIndex

public hudson.search.SearchIndex getSearchIndex()
Specified by:
getSearchIndex in interface hudson.search.SearchItem

getACL

public hudson.security.ACL getACL()
Specified by:
getACL in interface hudson.security.AccessControlled

hasPermission

public boolean hasPermission(hudson.security.Permission permission)
Specified by:
hasPermission in interface hudson.security.AccessControlled

getParent

public hudson.model.Hudson getParent()
Specified by:
getParent in interface hudson.model.Item

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

getBuildHealth

public hudson.model.HealthReport getBuildHealth()

getBuildHealthReports

public List<hudson.model.HealthReport> getBuildHealthReports()

isBuildable

public boolean isBuildable()


Copyright © 2004-2012. All Rights Reserved.