Interface CopyValidator<T>
-
public interface CopyValidator<T>Checks whether copy action can be safely performed. Implement this class in order to define custom check criterion. The checks are collected by org.kie.workbench.common.services.shared.validation.ValidationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(org.uberfire.backend.vfs.Path path)Collection<org.guvnor.common.services.shared.validation.model.ValidationMessage>validate(org.uberfire.backend.vfs.Path path)Collection<org.guvnor.common.services.shared.validation.model.ValidationMessage>validate(org.uberfire.backend.vfs.Path path, T content)
-
-
-
Method Detail
-
validate
Collection<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, T content)
-
validate
Collection<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path)
-
accept
boolean accept(org.uberfire.backend.vfs.Path path)
-
-