Entities

Building Entities with Audisto Scripting Language

Entities form the building blocks of an Audisto script. They indicate what the following rules and defintions will be about.

An entity generally is defined using the statement IS: along with the entity specific keyword.

The following entities are supported:

  • Rule: Declares a Rewrite Rule
  • Cluster: Declares a Cluster
  • Check: Declares a Check
  • Requirement: Declares a Requirement within a Check
  • Alert: Declares an Alert within a Check

Entities can be anonymous:

RULE IS:
CLUSTER IS:

Optionally, entities can be named, by adding a quoted string.

RULE "Remove Double Slashes" IS:
CLUSTER "Product Pages" IS:

A more detailed description can be added. Everything after double slashes is treated as a description. Descriptions are allowed to span multiple lines.

RULE "Remove Double Slashes" IS:
  // Sometimes there are double slashes in URLs
  // This has been filed as ticket #2251
  // Until we get rid of this, we rewrite them

Entities can be defined using the visual edior, in which case name and description appear as text input fields.

See the following example of a cluster definition:

A line of input forming a cluster

The first input is used to set the cluster's name (which is optional), the second to enter an optional description.

Following is the condition editor, to enter the cluster's conditions.