org.exoplatform.services.command.impl
Class SimpleCommandLineParser
java.lang.Object
org.exoplatform.services.command.impl.SimpleCommandLineParser
- All Implemented Interfaces:
- CommandLineParser
public class SimpleCommandLineParser
- extends java.lang.Object
- implements CommandLineParser
Created by The eXo Platform SAS.
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
|
Method Summary |
java.lang.String |
getParametersPropertyName()
|
java.lang.String |
parse(java.lang.String commandLine,
org.apache.commons.chain.Context context)
parses command line and puts some parameters (if any) to the Context by
some rules |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parametersPropertyName
protected final java.lang.String parametersPropertyName
SimpleCommandLineParser
public SimpleCommandLineParser(java.lang.String parametersPropertyName)
parse
public java.lang.String parse(java.lang.String commandLine,
org.apache.commons.chain.Context context)
- Description copied from interface:
CommandLineParser
- parses command line and puts some parameters (if any) to the Context by
some rules
- Specified by:
parse in interface CommandLineParser
- Returns:
- command name
getParametersPropertyName
public java.lang.String getParametersPropertyName()
- Returns:
- parameters Property Name
Copyright © 2011 eXo Platform SAS. All Rights Reserved.