MOA 12.03
Real Time Analytics for Data Streams
moa.options.ListOption Class Reference

List option. More...

Inheritance diagram for moa.options.ListOption:
Collaboration diagram for moa.options.ListOption:

List of all members.

Public Member Functions

 ListOption (String name, char cliChar, String purpose, Option expectedType, Option[] defaultList, char separatorChar)
void setList (Option[] optList)
Option[] getList ()
String getDefaultCLIString ()
 Gets the Command Line Interface text.
String getValueAsCLIString ()
 Gets the value of a Command Line Interface text as a string.
void setValueViaCLIString (String s)
 Sets value of this option via the Command Line Interface text.

Static Public Member Functions

static Option[] cliStringToOptionArray (String s, char separator, Option expectedType)
static String optionArrayToCLIString (Option[] os, char separator)

Protected Attributes

Option[] currentList
Option expectedType
Option[] defaultList
char separatorChar

Detailed Description

List option.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 28 of file ListOption.java.


Constructor & Destructor Documentation

moa.options.ListOption.ListOption ( String  name,
char  cliChar,
String  purpose,
Option  expectedType,
Option[]  defaultList,
char  separatorChar 
)

Definition at line 40 of file ListOption.java.

Here is the call graph for this function:


Member Function Documentation

static Option [] moa.options.ListOption.cliStringToOptionArray ( String  s,
char  separator,
Option  expectedType 
) [static]

Definition at line 78 of file ListOption.java.

Referenced by moa.options.ListOption.setValueViaCLIString().

Here is the call graph for this function:

Here is the caller graph for this function:

String moa.options.ListOption.getDefaultCLIString ( )

Gets the Command Line Interface text.

Returns:
the Command Line Interface text

Implements moa.options.Option.

Definition at line 63 of file ListOption.java.

Here is the call graph for this function:

Option [] moa.options.ListOption.getList ( )

Definition at line 58 of file ListOption.java.

Referenced by moa.tasks.Plot.doMainTask(), moa.streams.FilteredStream.prepareForUseImpl(), and moa.streams.clustering.FileStream.restart().

Here is the caller graph for this function:

String moa.options.ListOption.getValueAsCLIString ( )

Gets the value of a Command Line Interface text as a string.

Returns:
the string with the value of the Command Line Interface text

Implements moa.options.Option.

Definition at line 68 of file ListOption.java.

Referenced by moa.options.ListOption.optionArrayToCLIString(), and moa.options.ListOption.setList().

Here is the call graph for this function:

Here is the caller graph for this function:

static String moa.options.ListOption.optionArrayToCLIString ( Option[]  os,
char  separator 
) [static]

Definition at line 92 of file ListOption.java.

Referenced by moa.options.ListOption.getDefaultCLIString(), and moa.options.ListOption.getValueAsCLIString().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.options.ListOption.setList ( Option[]  optList)

Definition at line 49 of file ListOption.java.

Here is the call graph for this function:

void moa.options.ListOption.setValueViaCLIString ( String  s)

Sets value of this option via the Command Line Interface text.

Parameters:
sthe Command Line Interface text

Implements moa.options.Option.

Definition at line 73 of file ListOption.java.

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations