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) |
Modifier and Type | Method and Description |
---|---|
void |
configure(java.util.Properties configuration)
Configure the object with the configuration properties.
|
INodeSet |
getNodes() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSourceType, getWriteable
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
Configurable
configure
in interface Configurable
configuration
- the properties to useConfigurationException
- if there is an invalid configurationpublic INodeSet getNodes() throws ResourceModelSourceException
getNodes
in interface ResourceModelSource
ResourceModelSourceException
public java.lang.String toString()
toString
in class java.lang.Object