org.springframework.roo.classpath.converters
Class PathConverter
java.lang.Object
org.springframework.roo.classpath.converters.PathConverter
- All Implemented Interfaces:
- org.springframework.roo.shell.Converter<org.springframework.roo.project.Path>
@Service
public class PathConverter
- extends Object
- implements org.springframework.roo.shell.Converter<org.springframework.roo.project.Path>
Provides conversion to and from Path.
- Since:
- 1.0
- Author:
- Ben Alex
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathConverter
public PathConverter()
convertFromText
public org.springframework.roo.project.Path convertFromText(String value,
Class<?> requiredType,
String optionContext)
- Specified by:
convertFromText in interface org.springframework.roo.shell.Converter<org.springframework.roo.project.Path>
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<org.springframework.roo.project.Path>
supports
public boolean supports(Class<?> requiredType,
String optionContext)
- Specified by:
supports in interface org.springframework.roo.shell.Converter<org.springframework.roo.project.Path>
Copyright © 2009–2015. All rights reserved.