org.lsst.ccs.shell.example
Class Example

java.lang.Object
  extended by org.lsst.ccs.shell.example.Example
All Implemented Interfaces:
ShellDependent

public class Example
extends Object
implements ShellDependent

'more advanced' example.

Author:
ASG

Field Summary
static InputConverter[] CLI_INPUT_CONVERTERS
           
static OutputConverter[] CLI_OUTPUT_CONVERTERS
           
 
Constructor Summary
Example()
           
 
Method Summary
 Integer add(Integer... numbers)
           
 void cliSetShell(Shell shell)
          This method informs the object about the Shell operating it.
 void Hello()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLI_INPUT_CONVERTERS

public static final InputConverter[] CLI_INPUT_CONVERTERS

CLI_OUTPUT_CONVERTERS

public static final OutputConverter[] CLI_OUTPUT_CONVERTERS
Constructor Detail

Example

public Example()
Method Detail

add

public Integer add(Integer... numbers)

cliSetShell

public void cliSetShell(Shell shell)
Description copied from interface: ShellDependent
This method informs the object about the Shell operating it. Is called upon object's registration in Shell.

Specified by:
cliSetShell in interface ShellDependent
Parameters:
shell - Shell running the object.

Hello

public void Hello()
           throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


Copyright © 2013 LSST. All Rights Reserved.