KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("lcl.metrics.Metric");

(.lara)
import lcl.metrics.Metric;

Metric

Constructor

Metric

new Metric(id, name, sigla, author, year, description)

Reprents a metric we want to extract.

Parameters

id: string - Unique id for the metric
name: string - The name of the metric
sigla: string - The sigla of the metric
author: string - The author of the metric
year: number - The year in which the metric was purposed
description: string - The name of the metric

Instance Members

getAuthor

getAuthor()

Get the metric's author.

Returns

string - metric's author

getDescription

getDescription()

Get the metric's description.

Returns

string - metric's description

getName

getName()

Get the metric's name.

Returns

string - metric's name

getYear

getYear()

Get the metric's year.

Returns

string - metric's year