net.sf.mmm.util.cli.api
Interface CliParserBuilder

All Known Implementing Classes:
AbstractCliParserBuilder, DefaultCliParserBuilder

@ComponentSpecification
public interface CliParserBuilder

This is the interface used to build a CliParser from a given object.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Method Summary
 CliParser build(Object pojo)
          This method builds a CliParser instance from the given Pojo.
 

Method Detail

build

CliParser build(Object pojo)
This method builds a CliParser instance from the given Pojo. The following applies for the class reflecting this pojo:

Parameters:
pojo - is the annotated object for the CLI-state.
Returns:
the CliParser used to parse the commandline-arguments and potentially print the help.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.