uk.co.flamingpenguin.jewel.cli
Interface Cli<O>

Type Parameters:
O - The type of interface provided by this Cli

Deprecated. please use Cli instead

@Deprecated
public interface Cli<O>

Parses arguments and presents them, in a typesafe style, as an instance of the interface O

Author:
Tim Wood

Method Summary
 void describeTo(HelpMessage helpMessage)
          Deprecated. BETA: may be removed or altered in future versions Fill in a help message suitable for describing the options to the user
 String getHelpMessage()
          Deprecated. Get a help message suitable for describing the options to the user
 O parseArguments(String... arguments)
          Deprecated. Parse the arguments and present them as an instance of the interface O
 

Method Detail

parseArguments

O parseArguments(String... arguments)
                 throws ArgumentValidationException
Deprecated. 
Parse the arguments and present them as an instance of the interface O

Parameters:
arguments - The arguments that will be parsed
Returns:
An instance of the interface O which will present the parsed arguments
Throws:
InvalidArgumentsException
ArgumentValidationException

getHelpMessage

String getHelpMessage()
Deprecated. 
Get a help message suitable for describing the options to the user

Returns:
A help message

describeTo

void describeTo(HelpMessage helpMessage)
Deprecated. 
BETA: may be removed or altered in future versions Fill in a help message suitable for describing the options to the user



Copyright © 2006-2012 lexicalscope. All Rights Reserved.