Class ProjectWrapper
java.lang.Object
com.tikal.jenkins.plugins.multijob.views.AbstractWrapper
com.tikal.jenkins.plugins.multijob.views.ProjectWrapper
- All Implemented Interfaces:
ExtensionPoint
,Describable<TopLevelItem>
,Item
,ModelObject
,PersistenceRoot
,Saveable
,TopLevelItem
,SearchableModelObject
,SearchItem
,AccessControlled
,OnMaster
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class com.tikal.jenkins.plugins.multijob.views.AbstractWrapper
nestLevel, project
-
Constructor Summary
ConstructorDescriptionProjectWrapper
(MultiJobProject multijob, Job project, BuildState buildState, int nestLevel, Run build) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermission
(Permission permission) void
delete()
Collection<? extends Job>
int
getCss()
getName()
getRelativeNameFrom
(Item item) getUrl()
boolean
hasPermission
(Permission permission) boolean
void
onCopiedFrom
(Item src) void
void
void
save()
Methods inherited from class com.tikal.jenkins.plugins.multijob.views.AbstractWrapper
getAbsoluteUrl, getACL, getNestLevel
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
-
Constructor Details
-
ProjectWrapper
public ProjectWrapper(MultiJobProject multijob, Job project, BuildState buildState, int nestLevel, Run build)
-
-
Method Details
-
getAllJobs
-
getName
-
getFullName
-
getDisplayName
-
getFullDisplayName
-
getUrl
- Specified by:
getUrl
in interfaceItem
- Overrides:
getUrl
in classAbstractWrapper
-
getBuildNumber
public int getBuildNumber() -
getBuildDuration
-
getShortUrl
- Specified by:
getShortUrl
in interfaceItem
- Overrides:
getShortUrl
in classAbstractWrapper
-
onLoad
- Specified by:
onLoad
in interfaceItem
- Overrides:
onLoad
in classAbstractWrapper
- Throws:
IOException
-
onCopiedFrom
- Specified by:
onCopiedFrom
in interfaceItem
- Overrides:
onCopiedFrom
in classAbstractWrapper
-
onCreatedFromScratch
public void onCreatedFromScratch()- Specified by:
onCreatedFromScratch
in interfaceItem
- Overrides:
onCreatedFromScratch
in classAbstractWrapper
-
save
- Specified by:
save
in interfaceItem
- Specified by:
save
in interfaceSaveable
- Overrides:
save
in classAbstractWrapper
- Throws:
IOException
-
delete
- Specified by:
delete
in interfaceItem
- Overrides:
delete
in classAbstractWrapper
- Throws:
IOException
InterruptedException
-
getRootDir
- Specified by:
getRootDir
in interfacePersistenceRoot
- Overrides:
getRootDir
in classAbstractWrapper
-
getSearch
- Specified by:
getSearch
in interfaceSearchableModelObject
- Overrides:
getSearch
in classAbstractWrapper
-
getSearchName
- Specified by:
getSearchName
in interfaceSearchItem
- Overrides:
getSearchName
in classAbstractWrapper
-
getSearchUrl
- Specified by:
getSearchUrl
in interfaceSearchItem
- Overrides:
getSearchUrl
in classAbstractWrapper
-
getSearchIndex
- Specified by:
getSearchIndex
in interfaceSearchItem
- Overrides:
getSearchIndex
in classAbstractWrapper
-
checkPermission
- Specified by:
checkPermission
in interfaceAccessControlled
- Overrides:
checkPermission
in classAbstractWrapper
- Throws:
AccessDeniedException
-
hasPermission
- Specified by:
hasPermission
in interfaceAccessControlled
- Overrides:
hasPermission
in classAbstractWrapper
-
getParent
- Specified by:
getParent
in interfaceItem
- Overrides:
getParent
in classAbstractWrapper
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<TopLevelItem>
- Specified by:
getDescriptor
in interfaceTopLevelItem
- Overrides:
getDescriptor
in classAbstractWrapper
-
getLastFailedBuild
-
getLastSuccessfulBuild
-
getLastBuild
-
getProject
-
getIconColor
-
getCss
-
getBuildHealth
- Overrides:
getBuildHealth
in classAbstractWrapper
-
getBuildHealthReports
- Overrides:
getBuildHealthReports
in classAbstractWrapper
-
isBuildable
public boolean isBuildable()- Overrides:
isBuildable
in classAbstractWrapper
-
getRelativeNameFrom
-
getRelativeNameFrom
-