DBVIEW
org.dbview.runtime.cli.CliData Class Reference
Collaboration diagram for org.dbview.runtime.cli.CliData:

List of all members.

Public Member Functions

 CliData (int in_type, Hashtable< String, Object > in_data)
 CliData (int in_type, String in_error)
 CliData (int in_type)

Public Attributes

int type = org.dbview.runtime.cli.CliActionSelector.CLI_UNKNOWN
Hashtable< String, Object > data = null
String message = null

Detailed Description

This class contains the data extracted from the command line.

The interpretation of this data structure depends on the type of request.

Author:
Denis Beurive

Definition at line 31 of file CliData.java.


Constructor & Destructor Documentation

org.dbview.runtime.cli.CliData.CliData ( int  in_type,
Hashtable< String, Object >  in_data 
)

Constructor.

Parameters:
in_typeThis argument represents the type of request (depends on the command selector).
in_dataThis argument contains the data extracted from the command line.

Definition at line 60 of file CliData.java.

org.dbview.runtime.cli.CliData.CliData ( int  in_type,
String  in_error 
)

Constructor.

Parameters:
in_typeThis argument represents the type of request.
in_errorThis argument represents an error message.

Definition at line 71 of file CliData.java.

org.dbview.runtime.cli.CliData.CliData ( int  in_type)

Constructor.

Parameters:
in_typeThis argument represents the type of request.

Definition at line 81 of file CliData.java.


Member Data Documentation

Hashtable<String, Object> org.dbview.runtime.cli.CliData.data = null

This attribute contains the data extracted from the command line. The attribute's value can be "null" if the request does not require data.

  • Key: The name of a command line option.
  • Value: The value of the command line option.

Definition at line 48 of file CliData.java.

Referenced by org.dbview.runtime.cli.CliData.CliData().

This attribute contains an error message.

Definition at line 53 of file CliData.java.

Referenced by org.dbview.runtime.cli.CliData.CliData().

This attribute represents the type of request.

Remarks:
See class CliParser. Request types are represented by constants. The constants' names begin with the string "CS_" (Command Selector).

Definition at line 38 of file CliData.java.

Referenced by org.dbview.runtime.cli.CliData.CliData().


The documentation for this class was generated from the following file: