Drools Workbench - Test Scenario Editor - Backend 6.2.0.Final

org.drools.workbench.screens.testscenario.backend.server.indexing
Class TestScenarioFileIndexer

java.lang.Object
  extended by org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer
All Implemented Interfaces:
org.uberfire.ext.metadata.engine.Indexer

@ApplicationScoped
public class TestScenarioFileIndexer
extends Object
implements org.uberfire.ext.metadata.engine.Indexer


Field Summary
protected  org.uberfire.io.IOService ioService
           
protected  org.kie.workbench.common.services.shared.project.KieProjectService projectService
           
protected  TestScenarioResourceTypeDefinition type
           
 
Constructor Summary
TestScenarioFileIndexer()
           
 
Method Summary
protected  String getPackageName(org.uberfire.java.nio.file.Path path)
           
protected  org.drools.workbench.models.datamodel.oracle.ProjectDataModelOracle getProjectDataModelOracle(org.uberfire.java.nio.file.Path path)
           
 boolean supportsPath(org.uberfire.java.nio.file.Path path)
           
 org.uberfire.ext.metadata.model.KObject toKObject(org.uberfire.java.nio.file.Path path)
           
 org.uberfire.ext.metadata.model.KObjectKey toKObjectKey(org.uberfire.java.nio.file.Path path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ioService

@Inject
@Named(value="ioStrategy")
protected org.uberfire.io.IOService ioService

projectService

@Inject
protected org.kie.workbench.common.services.shared.project.KieProjectService projectService

type

@Inject
protected TestScenarioResourceTypeDefinition type
Constructor Detail

TestScenarioFileIndexer

public TestScenarioFileIndexer()
Method Detail

supportsPath

public boolean supportsPath(org.uberfire.java.nio.file.Path path)
Specified by:
supportsPath in interface org.uberfire.ext.metadata.engine.Indexer

toKObject

public org.uberfire.ext.metadata.model.KObject toKObject(org.uberfire.java.nio.file.Path path)
Specified by:
toKObject in interface org.uberfire.ext.metadata.engine.Indexer

toKObjectKey

public org.uberfire.ext.metadata.model.KObjectKey toKObjectKey(org.uberfire.java.nio.file.Path path)
Specified by:
toKObjectKey in interface org.uberfire.ext.metadata.engine.Indexer

getPackageName

protected String getPackageName(org.uberfire.java.nio.file.Path path)

getProjectDataModelOracle

protected org.drools.workbench.models.datamodel.oracle.ProjectDataModelOracle getProjectDataModelOracle(org.uberfire.java.nio.file.Path path)

Drools Workbench - Test Scenario Editor - Backend 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.