public class LapElementsFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ACTION
Name of action that will be used unless user specifies a name of action
that should be used.
|
static String |
DEFAULT_TRIGGER_SENSE
Name of trigger that will be used unless user specifies some other
trigger in the arguments.
|
Constructor and Description |
---|
LapElementsFactory() |
Modifier and Type | Method and Description |
---|---|
static Competence |
createCompetence(String name,
String... choices)
Create a new competence with multiple choices.
|
static CompetenceElement |
createCompetenceElement(String name)
Create new competence element with trigger of deafult sense and default action.
|
static DriveElement |
createDriveElement(String driveName)
Create new drive with default trigger and action.
|
static DriveElement |
createDriveElementNoTriggers(String name)
Create new drive with specified name and empty list of triggers and
default action.
|
static Sense |
createSense(String name)
Create new sense.
|
public static String DEFAULT_ACTION
public static String DEFAULT_TRIGGER_SENSE
public static Competence createCompetence(String name, String... choices)
name
- name of new competencechoices
- unique sequence of choices for this competencepublic static DriveElement createDriveElement(String driveName)
driveName
- name of the drivepublic static DriveElement createDriveElementNoTriggers(String name)
name
- name of created drive elementpublic static CompetenceElement createCompetenceElement(String name)
name
- name of competence elementCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.