public class CallableDatasetCreator extends Object implements Callable<org.restlet.data.Reference>
Modifier and Type | Field and Description |
---|---|
protected Hashtable<org.restlet.data.Reference,OTRemoteTask> |
algorithms |
protected org.restlet.data.Reference |
applicationRoot |
protected org.restlet.data.Reference |
datasetService |
protected String |
datasetURI |
protected org.restlet.data.Form |
featuresQuery |
protected org.restlet.data.Form |
input |
protected OTRemoteTaskPool |
jobs |
protected String |
modelURI |
protected String |
referer |
protected PropertyChangeSupport |
support |
Constructor and Description |
---|
CallableDatasetCreator(org.restlet.data.Form form,
org.restlet.data.Reference applicationRoot,
org.restlet.data.Reference datasetService,
String referer) |
Modifier and Type | Method and Description |
---|---|
protected void |
addJob(org.restlet.data.Reference algorithm,
List<String> features) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
org.restlet.data.Reference |
call() |
protected org.restlet.data.Reference |
callInternal() |
static org.restlet.data.Reference |
createFilterReference(String root,
String dataset,
String[] features) |
protected void |
finalize() |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue) |
protected void |
launchFeaturesCalculations(com.hp.hpl.jena.rdf.model.Model jenaModel,
String model) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
protected void |
run(org.restlet.data.Reference modelURI) |
protected PropertyChangeSupport support
protected org.restlet.data.Reference applicationRoot
protected String modelURI
protected String datasetURI
protected org.restlet.data.Reference datasetService
protected org.restlet.data.Form input
protected OTRemoteTaskPool jobs
protected Hashtable<org.restlet.data.Reference,OTRemoteTask> algorithms
protected org.restlet.data.Form featuresQuery
protected String referer
public CallableDatasetCreator(org.restlet.data.Form form, org.restlet.data.Reference applicationRoot, org.restlet.data.Reference datasetService, String referer) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public org.restlet.data.Reference call() throws Exception
protected void launchFeaturesCalculations(com.hp.hpl.jena.rdf.model.Model jenaModel, String model)
public static org.restlet.data.Reference createFilterReference(String root, String dataset, String[] features)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.