SLARepair - setValidateOnly(Boolean onOrOff)

Validates the repair request.

If false is passed in, the task SLAs will be repaired. If true is passed in, calls to repair will not alter any task SLAs but only validate the supplied parameters and generate a count of records to be repaired.

Table 1. Parameters
Name Type Description
onOrOff Boolean Determines whether to enable or disable validation.
Table 2. Returns
Type Description
this A self-reference to allow for method chaining.

var repair = new SLARepair();
  repair.setValidateOnly(true);