checkValidity method
Classes can implement this to check the validity.
If the component missed required information, throw a FormatException with details.
Implementation
@override
void checkValidity() {
super.checkValidity();
checkMandatoryProperty(TriggerProperty.propertyName);
checkMandatoryProperty(ActionProperty.propertyName);
}