hudson.util
Class EnumConverter

java.lang.Object
  extended by hudson.util.EnumConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter

public class EnumConverter
extends Object
implements org.apache.commons.beanutils.Converter

Converter for enums. Used for form binding.

Author:
Kohsuke Kawaguchi

Constructor Summary
EnumConverter()
           
 
Method Summary
 Object convert(Class aClass, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumConverter

public EnumConverter()
Method Detail

convert

public Object convert(Class aClass,
                      Object object)
Specified by:
convert in interface org.apache.commons.beanutils.Converter


Copyright © 2004-2013. All Rights Reserved.