Package comodit_client :: Package api :: Module platform :: Class Driver

Class Driver


Platform driver representation. A driver is uniquely defined by its Java class canonical name. Available drivers are:


See Also: Platform

Instance Methods
 
show(self, indent=0)
Prints driver's representation to standard output in a user-friendly way.

Inherited from util.json_wrapper.JsonWrapper: __init__, dump_json, get_json, get_real_json, load_json, print_json, set_json

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
string name
The name of the driver.
string description
The description of the driver.
string class_name
The Java class canonical name of the driver.

Inherited from object: __class__

Method Details

show(self, indent=0)

 

Prints driver's representation to standard output in a user-friendly way.

Parameters:
  • indent (int) - The number of spaces to put in front of each displayed line.

Property Details

name

The name of the driver.

Get Method:
unreachable.name(self) - The name of the driver.
Type:
string

description

The description of the driver.

Get Method:
unreachable.description(self) - The description of the driver.
Type:
string

class_name

The Java class canonical name of the driver.

Get Method:
unreachable.class_name(self) - The Java class canonical name of the driver.
Set Method:
unreachable.class_name(self, name) - Sets Java class canonical name of the driver.
Type:
string