Back to index

placecapability.so module reference

Description

Use this module if you want to schedule certain events only in classrooms that have the neccessary capabilities.

This module does not use a fitness function. This means that the "mandatory" and "weight" options are ignored. This restriction is always mandatory.

See "preferredroom.so" module if you need a non-mandatory restriction of a similar type.

Required resource types

Configuration file must define the following resource types in order to use this module:

Defined resource restrictions

capability (resource types room)

<resource name="special-classroom">
	<restriction type="capability">special-capability</restriction>
</resource>

Use this restriction to specify which capabilities does a certain classroom have. You can have more than one capability per classroom.

A classroom has no capabilities by default.

Defined tuple restrictions

capability

<event name="special-event" repeats="1">
	<restriction type="capability">special-capability</restriction>
</event>

Use this restriction to specify that the current event can only be scheduled in rooms with the specified capability.

You can use more than one restriction per event. This means that this event can only be scheduled in rooms that have all of the specified capabilities.

An event can be scheduled in any room by default.

Supported module options

Module groups

This module belongs to the following groups:

Author

Tomaz Solc, tomaz.solc@tablix.org

Back to index