public class ScriptResourceModelSource extends java.lang.Object implements Configurable, ResourceModelSource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_ARGS |
static java.lang.String |
CONFIG_FILE |
static java.lang.String |
CONFIG_FORMAT |
static java.lang.String |
CONFIG_INTERPRETER |
static java.lang.String |
CONFIG_INTERPRETER_ARGS_QUOTED |
static PropertyValidator |
FILE_VALIDATOR |
| Constructor and Description |
|---|
ScriptResourceModelSource(Framework framework) |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String CONFIG_INTERPRETER
public static final java.lang.String CONFIG_ARGS
public static final java.lang.String CONFIG_INTERPRETER_ARGS_QUOTED
public static final java.lang.String CONFIG_FORMAT
public static final PropertyValidator FILE_VALIDATOR
public ScriptResourceModelSource(Framework framework)
public void configure(java.util.Properties configuration)
throws ConfigurationException
Configurableconfigure in interface Configurableconfiguration - the properties to useConfigurationException - if there is an invalid configurationpublic INodeSet getNodes() throws ResourceModelSourceException
getNodes in interface ResourceModelSourceResourceModelSourceExceptionpublic java.lang.String toString()
toString in class java.lang.Object