use of org.jbehave.core.io.rest.filesystem.ExportFromFilesystem in project jbehave-core by jbehave.
the class RESTSteps method whenStoriesAreExported.
@When("stories in $sourcePath are exported to $rootURI")
public void whenStoriesAreExported(String sourcePath, String rootURI) {
ResourceExporter exporter = new ExportFromFilesystem(resourceIndexer(), resourceupLoader(), sourcePath, ".story", "", "**/*.story");
exporter.exportResources(rootURI);
}
use of org.jbehave.core.io.rest.filesystem.ExportFromFilesystem in project jbehave-core by jbehave.
the class ExportFromFilesystemMojo method createExporter.
private ResourceExporter createExporter() {
ResourceIndexer indexer = newResourceIndexer();
ResourceUploader uploader = newResourceUploader();
getLog().info("Creating exporter from filesystem using REST provider " + restProvider + " with resourcesPath " + resourcesPath + ", resourcesExt " + resourcesExt + ", resourcesSyntax " + resourcesSyntax + " and resourcesIncludes " + resourcesIncludes);
return new ExportFromFilesystem(indexer, uploader, resourcesPath, resourcesExt, resourcesSyntax, resourcesIncludes);
}
Aggregations