@ApplicationScoped public class BPMN2FileNameValidator extends Object implements org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
Constructor and Description |
---|
BPMN2FileNameValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(org.uberfire.backend.vfs.Path path) |
boolean |
accept(String fileName) |
int |
getPriority() |
boolean |
isValid(String value) |
public int getPriority()
getPriority
in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
public boolean accept(String fileName)
accept
in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
public boolean accept(org.uberfire.backend.vfs.Path path)
accept
in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
public boolean isValid(String value)
isValid
in interface org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.