public class TestScriptInterpretFactory extends PluginFactory
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
TestScriptInterpret |
createByExtension(URI testURI)
Create a test script by file extension.
|
TestScriptInterpret |
createByType(int type)
Create a test script by type.
|
static TestScriptInterpretFactory |
getInstance()
Get shared instance of this factory.
|
List<TestScriptInterpret> |
getSupportedInterprets()
Get the list of all supported test script instance samples.
|
List<Integer> |
getSupportedInterpretTypes() |
static boolean |
isTestScript(File f) |
public static boolean isTestScript(File f)
public static TestScriptInterpretFactory getInstance()
public TestScriptInterpret createByType(int type)
type
- an integer type code.public TestScriptInterpret createByExtension(URI testURI)
testURI
- test script URI (a file or another resource).public List<TestScriptInterpret> getSupportedInterprets()