org.topbraid.sparqlmotion.scripts.impl
Class Script
java.lang.Object
org.topbraid.sparqlmotion.scripts.impl.Script
- All Implemented Interfaces:
- IScript
public class Script
- extends java.lang.Object
- implements IScript
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Script
public Script()
addTargetModule
public void addTargetModule(IModule value)
getModule
public IModule getModule(com.hp.hpl.jena.rdf.model.Resource config)
- Description copied from interface:
IScript
- Gets the IModule representing a given configuration Resource.
- Specified by:
getModule in interface IScript
- Parameters:
config - the Resource
- Returns:
- the IModule or null
getTargetModules
public java.util.Set<IModule> getTargetModules()
- Description copied from interface:
IScript
- Gets a Set of all IModules that do not have any next modules.
- Specified by:
getTargetModules in interface IScript
- Returns:
- the target modules
setConfig2Module
public void setConfig2Module(java.util.Map<com.hp.hpl.jena.rdf.model.Resource,IModule> value)
validate
public void validate()
throws java.lang.Throwable
- Description copied from interface:
IScript
- Validates whether this script is well-formed.
- Specified by:
validate in interface IScript
- Throws:
java.lang.Throwable - if the script is not well-formed