com.sonyericsson.hudson.plugins.metadata.model.definitions
Class NumberMetadataDefinition.NumberMetaDataDefinitionDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<AbstractMetadataDefinition>
      extended by com.sonyericsson.hudson.plugins.metadata.model.definitions.AbstractMetadataDefinition.AbstractMetaDataDefinitionDescriptor
          extended by com.sonyericsson.hudson.plugins.metadata.model.definitions.NumberMetadataDefinition.NumberMetaDataDefinitionDescriptor
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
NumberMetadataDefinition

@Extension
public static class NumberMetadataDefinition.NumberMetaDataDefinitionDescriptor
extends AbstractMetadataDefinition.AbstractMetaDataDefinitionDescriptor

The Descriptor.


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
NumberMetadataDefinition.NumberMetaDataDefinitionDescriptor()
           
 
Method Summary
 hudson.util.FormValidation doCheckNumberValue(String value)
          Form validation for the value.
 String getDisplayName()
           
 
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, 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

NumberMetadataDefinition.NumberMetaDataDefinitionDescriptor

public NumberMetadataDefinition.NumberMetaDataDefinitionDescriptor()
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<AbstractMetadataDefinition>

doCheckNumberValue

public hudson.util.FormValidation doCheckNumberValue(@QueryParameter(value="value")
                                                     String value)
Form validation for the value. It will try to parse the value to a long.

Parameters:
value - the value.
Returns:
FormValidation.ok() if the value can be parsed to a long.


Copyright © 2004-2013. All Rights Reserved.