All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.datafx.controller.validation.event.ValidationFinishedEvent Maven / Gradle / Ivy

There is a newer version: 8.0b5
Show newest version
package org.datafx.controller.validation.event;

import java.util.Set;

import javafx.event.Event;
import javafx.event.EventType;

import javax.validation.ConstraintViolation;

import org.datafx.controller.flow.event.AfterFlowActionEvent;

public class ValidationFinishedEvent extends Event {

	private static final long serialVersionUID = 1L;

	public static final EventType DEFAULT_EVENT_TYPE =
            new EventType<>("ValidationViolationEvent");

    @SuppressWarnings("rawtypes")
	private Set> violations;

    @SuppressWarnings("rawtypes")
	public ValidationFinishedEvent(Set> violations) {
        super(DEFAULT_EVENT_TYPE);
        this.violations = violations;
    }

    @SuppressWarnings("rawtypes")
	public Set> getViolations() {
		return violations;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy