|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.model.Descriptor<hudson.model.JobProperty<?>> hudson.model.JobPropertyDescriptor com.sonyericsson.hudson.plugins.metadata.model.MetadataJobProperty.MetaDataJobPropertyDescriptor
@Extension public static class MetadataJobProperty.MetaDataJobPropertyDescriptor
Descriptor for the MetadataJobProperty
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class hudson.model.Descriptor |
---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
Field Summary |
---|
Fields inherited from class hudson.model.Descriptor |
---|
clazz |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
MetadataJobProperty.MetaDataJobPropertyDescriptor()
|
Method Summary | |
---|---|
String |
getDisplayName()
|
List<AbstractMetadataValue.AbstractMetaDataValueDescriptor> |
getValueDescriptors(org.kohsuke.stapler.StaplerRequest request)
All registered meta data descriptors that applies to jobs. |
static MetadataJobProperty |
instanceFor(hudson.model.AbstractProject project)
Gives the MetadataJobProperty for the given Job. |
hudson.model.JobProperty<?> |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
Methods inherited from class hudson.model.JobPropertyDescriptor |
---|
all, getPropertyDescriptors, isApplicable |
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 |
---|
public MetadataJobProperty.MetaDataJobPropertyDescriptor()
Method Detail |
---|
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
public hudson.model.JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance
in class hudson.model.JobPropertyDescriptor
hudson.model.Descriptor.FormException
public List<AbstractMetadataValue.AbstractMetaDataValueDescriptor> getValueDescriptors(org.kohsuke.stapler.StaplerRequest request)
request
- the current http request.
public static MetadataJobProperty instanceFor(hudson.model.AbstractProject project) throws IOException
MetadataJobProperty
for the given Job. If no metadata is available on the job the property
will be created and added to it.
project
- the job.
IOException
- if an error occurs when adding the property to the job.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |