org.jvnet.hudson.test
Class MockFolder.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<TopLevelItem>
      extended by hudson.model.TopLevelItemDescriptor
          extended by org.jvnet.hudson.test.MockFolder.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
MockFolder

@Extension
public static class MockFolder.DescriptorImpl
extends TopLevelItemDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
MockFolder.DescriptorImpl()
           
 
Method Summary
 String getDisplayName()
          Human readable name of this kind of configurable object.
 TopLevelItem newInstance(ItemGroup parent, String name)
          Creates a new TopLevelItem for the specified parent.
 
Methods inherited from class hudson.model.TopLevelItemDescriptor
all, isApplicable, newInstance, newInstance, testInstance
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFolder.DescriptorImpl

public MockFolder.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Description copied from class: TopLevelItemDescriptor
Human readable name of this kind of configurable object.

Used as the caption when the user chooses what job type to create. The descriptor implementation also needs to have newJobDetail.jelly script, which will be used to render the text below the caption that explains the job type.

Specified by:
getDisplayName in class TopLevelItemDescriptor

newInstance

public TopLevelItem newInstance(ItemGroup parent,
                                String name)
Description copied from class: TopLevelItemDescriptor
Creates a new TopLevelItem for the specified parent.

Specified by:
newInstance in class TopLevelItemDescriptor


Copyright © 2004-2013. All Rights Reserved.