Пример #1
0
 @Override
 public void doValidate(ValidationStatus status) throws PackageException {
   // the target platform is not checked at install
   // check that commands can be run
   for (Command cmd : commands) {
     cmd.validate(this, status);
   }
 }
 @Override
 protected void doValidate(Task task, ValidationStatus status) throws PackageException {
   for (Command command : commands) {
     command.validate(task, status);
   }
 }