|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sonyericsson.hudson.plugins.metadata.model.MetadataConfigurationPage
@Extension public class MetadataConfigurationPage
A configuration page for setting preset metadata definitions that end up on the job configuration page.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Constructor Summary | |
---|---|
MetadataConfigurationPage()
Default constructor. |
|
MetadataConfigurationPage(List<AbstractMetadataDefinition> definitions)
Standard DataBound Constructor. |
Method Summary | |
---|---|
void |
doConfigureSubmit(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Save the metadata entered on the configuration page. |
List<AbstractMetadataDefinition.AbstractMetaDataDefinitionDescriptor> |
getDefinitionDescriptors(org.kohsuke.stapler.StaplerRequest request)
All registered metadata definition descriptors. |
List<? extends MetadataDefinition> |
getDefinitions()
The list of preset metadata definitions. |
String |
getDisplayName()
|
String |
getIconFileName()
|
hudson.security.Permission |
getRequiredPermission()
Serves the permission required to perform this action. |
String |
getUrlName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@DataBoundConstructor public MetadataConfigurationPage(List<AbstractMetadataDefinition> definitions)
definitions
- the meta data definitions.public MetadataConfigurationPage()
Method Detail |
---|
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getUrlName()
getUrlName
in interface hudson.model.Action
public hudson.security.Permission getRequiredPermission()
public List<AbstractMetadataDefinition.AbstractMetaDataDefinitionDescriptor> getDefinitionDescriptors(org.kohsuke.stapler.StaplerRequest request)
request
- the current http request.
public List<? extends MetadataDefinition> getDefinitions()
public void doConfigureSubmit(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws javax.servlet.ServletException, hudson.model.Descriptor.FormException, IOException
request
- the current http request.response
- the response from this operation.
javax.servlet.ServletException
- if there is a problem in getting the submitted form.
Descriptor.FormException
- if there is a problem creating the descriptor instances
IOException
- if there is a problem in the save or redirect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |