cfa.vo.iris
Class NullCommandLineInterface

java.lang.Object
  extended by cfa.vo.iris.NullCommandLineInterface
All Implemented Interfaces:
ICommandLineInterface

public class NullCommandLineInterface
extends Object
implements ICommandLineInterface

Author:
olaurino

Constructor Summary
NullCommandLineInterface(String name)
           
 
Method Summary
 void call(String[] args)
          Callback that gets called when a command line is parsed and associated to the implementing component.
 String getName()
          The name that has to be associated with the implementing component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullCommandLineInterface

public NullCommandLineInterface(String name)
Method Detail

getName

public String getName()
Description copied from interface: ICommandLineInterface
The name that has to be associated with the implementing component. When the calling application parses the command line, it will interpret the first argument as the component to which the command has to be relayed, using this string as a key.

Specified by:
getName in interface ICommandLineInterface
Returns:
The compact name that identifies this CLI

call

public void call(String[] args)
Description copied from interface: ICommandLineInterface
Callback that gets called when a command line is parsed and associated to the implementing component.

Specified by:
call in interface ICommandLineInterface
Parameters:
args - The command line arguments.


Copyright © 2013. All rights reserved.