org.springframework.roo.classpath.converters
Class ConstructorFieldsConverter
java.lang.Object
org.springframework.roo.classpath.converters.ConstructorFieldsConverter
- All Implemented Interfaces:
- org.springframework.roo.shell.Converter<Set<String>>
@Service
public class ConstructorFieldsConverter
- extends Object
- implements org.springframework.roo.shell.Converter<Set<String>>
Provides conversion between a space-separated list of field names to a set of
field names for use in a constructor.
- Since:
- 1.2.3
- Author:
- Alan Stewart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstructorFieldsConverter
public ConstructorFieldsConverter()
convertFromText
public Set<String> convertFromText(String value,
Class<?> requiredType,
String optionContext)
- Specified by:
convertFromText in interface org.springframework.roo.shell.Converter<Set<String>>
getAllPossibleValues
public boolean getAllPossibleValues(List<org.springframework.roo.shell.Completion> completions,
Class<?> requiredType,
String existingData,
String optionContext,
org.springframework.roo.shell.MethodTarget target)
- Specified by:
getAllPossibleValues in interface org.springframework.roo.shell.Converter<Set<String>>
supports
public boolean supports(Class<?> requiredType,
String optionContext)
- Specified by:
supports in interface org.springframework.roo.shell.Converter<Set<String>>
Copyright © 2009–2015. All rights reserved.