void verify()

Source

void verify() {
  if (name == null) {
    throw new Exception("DSLink Name is required.");
  }

  if (main == null) {
    throw new Exception("DSLink Main Script is required.");
  }
}