@Test public void testValidate() { ActionInstance actionInstance = new ActionInstanceBuilder().build(); ValidationResult result = action.validate(actionInstance); assertTrue(result.isValid()); }
@Override public ValidationResult validate(ActionInstance actionInstance) { return new ValidationResultBuilder().success().build(); }
AllowAction extends Action { @Override public ValidationResult validate(ActionInstance actionInstance) { return new ValidationResultBuilder().success().build(); } }
AllowAction extends Action { @Override public ValidationResult validate(ActionInstance actionInstance) { return new ValidationResultBuilder().success().build(); }  }
AllowAction extends Action { @Override public ValidationResult validate(ActionInstance actionInstance) { return new ValidationResultBuilder().success().build(); }  @Override ActionDefinitionId getId(); @Override ActionDefinition getActionDef(); @Override ValidationResult validate(ActionInstance actionInstance); @Override List<SupportedParameterValues> getSupportedParameterValues(); }
AllowAction extends Action { @Override public ValidationResult validate(ActionInstance actionInstance) { return new ValidationResultBuilder().success().build(); }  @Override ActionDefinitionId getId(); @Override ActionDefinition getActionDef(); @Override ValidationResult validate(ActionInstance actionInstance); @Override List<SupportedParameterValues> getSupportedParameterValues();  }