org.topbraid.sparqlmotion.scripts
Interface IScript

All Known Implementing Classes:
Script

public interface IScript

A compiled SparqlMotion script.

Author:
Holger Knublauch

Method Summary
 IModule getModule(com.hp.hpl.jena.rdf.model.Resource config)
          Gets the IModule representing a given configuration Resource.
 java.util.Set<IModule> getTargetModules()
          Gets a Set of all IModules that do not have any next modules.
 void validate()
          Validates whether this script is well-formed.
 

Method Detail

getModule

IModule getModule(com.hp.hpl.jena.rdf.model.Resource config)
Gets the IModule representing a given configuration Resource.

Parameters:
config - the Resource
Returns:
the IModule or null

getTargetModules

java.util.Set<IModule> getTargetModules()
Gets a Set of all IModules that do not have any next modules.

Returns:
the target modules

validate

void validate()
              throws java.lang.Throwable
Validates whether this script is well-formed.

Throws:
java.lang.Throwable - if the script is not well-formed