Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

SkillRequirementBuilder Class

Contains methods to build an instance of the lxscheduler.SkillRequirement class.

A Builder object is obtained by invoking one of the SkillRequirementBuilder methods defined by the SkillRequirement class.

Namespace

LxScheduler

SkillRequirementBuilder Methods

The following are methods for SkillRequirementBuilder.

build()

Returns an instance of the lxscheduler.SkillRequirement object.

Signature

public lxscheduler.SkillRequirement build()

Return Value

Type: lxscheduler.SkillRequirement

setSkillId(skillId)

Sets the skill that is required to complete a particular task for a work type. This is a required field.

Signature

public lxscheduler.SkillRequirementBuilder setSkillId(String skillId)

Parameters

  • skillId:

    Type: String

    This is a required field.

setSkillLevel(skillLevel)

Sets the level of the skill that is required to complete a particular task for a work type

Signature

public lxscheduler.SkillRequirementBuilder setSkillLevel(Double skillLevel)

Parameters

  • skillLevel:

    Type: Double

    The skill levels can range from zero to 99.99. Depending on your business needs, you might want the skill level to reflect years of experience, certification levels, or license classes.