org.kie.workbench.common.services.backend.source
Interface SourceService<T>
- All Known Implementing Classes:
- BaseSourceService, DRLBaseSourceService
public interface SourceService<T>
accepts
boolean accepts(org.kie.commons.java.nio.file.Path path)
getSource
String getSource(org.kie.commons.java.nio.file.Path path,
T model)
- Parameters:
path - path to the filemodel - the current model. Originally loaded from the file, but the content might have changed.
- Returns:
- Source generated from the model, not from the file that the path points to.
getPattern
String getPattern()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.