public interface SourceService<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(org.uberfire.java.nio.file.Path path) |
String |
getPattern() |
String |
getSource(org.uberfire.java.nio.file.Path path) |
String |
getSource(org.uberfire.java.nio.file.Path path,
T model) |
boolean accepts(org.uberfire.java.nio.file.Path path)
String getSource(org.uberfire.java.nio.file.Path path, T model) throws SourceGenerationFailedException
path - path to the filemodel - the current model. Originally loaded from the file, but the content might have changed.SourceGenerationFailedExceptionString getSource(org.uberfire.java.nio.file.Path path) throws SourceGenerationFailedException
path - path to the fileSourceGenerationFailedExceptionString getPattern()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.