A skill defines a certain property that can be assigned to resources.
A load can specify a skill required on the resource.
Fields
| Field | Type | Description |
| name | non-empty string | Name of the skill. This is the key field and a required attribute. |
| resources | list of resources | A read-only list of all resources having this skill. |
| action | A C AC (default) R |
Type of action to be executed:
|
Example XML structures
- Adding or changing skills
<plan>
<skills>
<skill name="Qualified operator">
<resources>
<resource name="John" />
<resource name="Paul" />
<resource name="Neil" />
</skill>
</skills>
</plan>
- Deleting a skill
<plan>
<skills>
<skill name="Qualified operator" action="R"/>
</skills>
</plan>
Example Python code
- Adding or changing resource skills
skill = frepple.skill(name="Qualified operator")
resource = frepple.resource(name="John")
skill.addResource(resource)
- Deleting a skill
frepple.skill(name="Qualified operator", action="R")
v2.0