org.apache.maven.doxia.book
Class BookDoxiaCli

java.lang.Object
  extended by org.codehaus.plexus.tools.cli.AbstractCli
      extended by org.apache.maven.doxia.book.BookDoxiaCli
All Implemented Interfaces:
org.codehaus.plexus.tools.cli.Cli

public class BookDoxiaCli
extends org.codehaus.plexus.tools.cli.AbstractCli

Invoke BookDoxia from the command line.

Author:
Jason van Zyl

Field Summary
 
Fields inherited from class org.codehaus.plexus.tools.cli.AbstractCli
DEBUG, ERRORS, HELP, QUIET, SET_SYSTEM_PROPERTY, VERSION
 
Constructor Summary
BookDoxiaCli()
           
 
Method Summary
 org.apache.commons.cli.Options buildCliOptions(org.apache.commons.cli.Options options)
          
 java.lang.String getPomPropertiesPath()
          
 void invokePlexusComponent(org.apache.commons.cli.CommandLine cli, org.codehaus.plexus.PlexusContainer plexus)
          
static void main(java.lang.String[] args)
          Execute the BookDoxia command line interface.
 
Methods inherited from class org.codehaus.plexus.tools.cli.AbstractCli
buildDefaultCliOptions, displayHelp, execute, execute, parse, showError, showFatalError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookDoxiaCli

public BookDoxiaCli()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Execute the BookDoxia command line interface.

Parameters:
args - command line options.
Throws:
java.lang.Exception - if something goes wrong.

getPomPropertiesPath

public java.lang.String getPomPropertiesPath()

Specified by:
getPomPropertiesPath in interface org.codehaus.plexus.tools.cli.Cli
Overrides:
getPomPropertiesPath in class org.codehaus.plexus.tools.cli.AbstractCli

buildCliOptions

public org.apache.commons.cli.Options buildCliOptions(org.apache.commons.cli.Options options)

Specified by:
buildCliOptions in interface org.codehaus.plexus.tools.cli.Cli
Specified by:
buildCliOptions in class org.codehaus.plexus.tools.cli.AbstractCli

invokePlexusComponent

public void invokePlexusComponent(org.apache.commons.cli.CommandLine cli,
                                  org.codehaus.plexus.PlexusContainer plexus)
                           throws java.lang.Exception

Specified by:
invokePlexusComponent in interface org.codehaus.plexus.tools.cli.Cli
Specified by:
invokePlexusComponent in class org.codehaus.plexus.tools.cli.AbstractCli
Throws:
java.lang.Exception


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.