cfa.vo.iris
Interface ICommandLineInterface

All Known Implementing Classes:
NullCommandLineInterface

public interface ICommandLineInterface

A simple interface for providing CLI access in an extensible, pluggable way

Author:
olaurino

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.
 

Method Detail

getName

String getName()
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.

Returns:
The compact name that identifies this CLI

call

void call(String[] args)
Callback that gets called when a command line is parsed and associated to the implementing component.

Parameters:
args - The command line arguments.


Copyright © 2013. All rights reserved.