org.springframework.roo.shell.converters
Class AvailableCommandsConverter

java.lang.Object
  extended by org.springframework.roo.shell.converters.AvailableCommandsConverter
All Implemented Interfaces:
Converter

@Service
public class AvailableCommandsConverter
extends Object
implements Converter

Since:
1.0
Author:
Ben Alex

Constructor Summary
AvailableCommandsConverter()
           
 
Method Summary
 Object convertFromText(String text, Class<?> requiredType, String optionContext)
           
 boolean getAllPossibleValues(List<String> completions, Class<?> requiredType, String existingData, String optionContext, MethodTarget target)
           
 boolean supports(Class<?> requiredType, String optionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailableCommandsConverter

public AvailableCommandsConverter()
Method Detail

convertFromText

public Object convertFromText(String text,
                              Class<?> requiredType,
                              String optionContext)
Specified by:
convertFromText in interface Converter

supports

public boolean supports(Class<?> requiredType,
                        String optionContext)
Specified by:
supports in interface Converter

getAllPossibleValues

public boolean getAllPossibleValues(List<String> completions,
                                    Class<?> requiredType,
                                    String existingData,
                                    String optionContext,
                                    MethodTarget target)
Specified by:
getAllPossibleValues in interface Converter


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.