Returns the weight of the local task.
int|null The weight of the task or NULL.
public function getWeight();