Package org.jbpm.designer.validation
Class BPMN2FileNameValidator
- java.lang.Object
-
- org.jbpm.designer.validation.BPMN2FileNameValidator
-
- All Implemented Interfaces:
org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
@ApplicationScoped public class BPMN2FileNameValidator extends Object implements org.uberfire.ext.editor.commons.backend.validation.FileNameValidator
Validator of BPMN2 process file names
-
-
Constructor Summary
Constructors Constructor Description BPMN2FileNameValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(String fileName)booleanaccept(org.uberfire.backend.vfs.Path path)intgetPriority()booleanisValid(String value)
-
-
-
Method Detail
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceorg.uberfire.ext.editor.commons.backend.validation.FileNameValidator
-
accept
public boolean accept(String fileName)
- Specified by:
acceptin interfaceorg.uberfire.ext.editor.commons.backend.validation.FileNameValidator
-
accept
public boolean accept(org.uberfire.backend.vfs.Path path)
- Specified by:
acceptin interfaceorg.uberfire.ext.editor.commons.backend.validation.FileNameValidator
-
isValid
public boolean isValid(String value)
- Specified by:
isValidin interfaceorg.uberfire.ext.editor.commons.backend.validation.FileNameValidator
-
-