Interface SaveValidator<T>


  • public interface SaveValidator<T>
    Checks whether save 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
      boolean accept​(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)
      • accept

        boolean accept​(org.uberfire.backend.vfs.Path path)