Class ProjectWizard
- java.lang.Object
-
- hudson.plugins.project_inheritance.util.MockItemGroup<Job<?,?>>
-
- hudson.plugins.project_inheritance.projects.creation.ProjectWizard
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<TopLevelItem>
,Item
,ItemGroup<Job<?,?>>
,ModelObject
,PersistenceRoot
,Saveable
,TopLevelItem
,SearchableModelObject
,SearchItem
,AccessControlled
,OnMaster
public class ProjectWizard extends MockItemGroup<Job<?,?>>
This class is responsible for adding a "Wizard" functionality to the "New Item" page, that expands on the "Copy from other Job" feature.It basically fulfils the same purpose, with the sole exception that the selection of jobs is limited to an administrator-filtered list of "template" projects.
These projects get extended with some short descriptions and maybe additional variable fields. When the user then creates the job, a new job is created by copying the Template and substituting the variables in the XML that is to be copied.
- Author:
- mhschroe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectWizard.ProjectWizardDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static ProjectWizard.ProjectWizardDescriptor
DESCRIPTOR
-
Constructor Summary
Constructors Constructor Description ProjectWizard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectWizard.ProjectWizardDescriptor
getDescriptor()
-
Methods inherited from class hudson.plugins.project_inheritance.util.MockItemGroup
addItem, checkPermission, clean, delete, finalize, getAbsoluteUrl, getACL, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getItem, getItems, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getRootDir, getRootDirFor, getSearch, getSearchIndex, getSearchName, getSearchUrl, getShortUrl, getUrl, getUrlChildPrefix, hasPermission, onCopiedFrom, onCreatedFromScratch, onDeleted, onLoad, onRenamed, save
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, hasAnyPermission, hasPermission, hasPermission2
-
Methods inherited from interface hudson.model.ItemGroup
allItems, allItems, allItems, getAllItems, getAllItems, getAllItems, getItems, getItemsStream, getItemsStream
-
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final ProjectWizard.ProjectWizardDescriptor DESCRIPTOR
-
-
Method Detail
-
getDescriptor
public ProjectWizard.ProjectWizardDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<TopLevelItem>
- Specified by:
getDescriptor
in interfaceTopLevelItem
- Overrides:
getDescriptor
in classMockItemGroup<Job<?,?>>
-
-