public abstract class AbstractGSPOperation extends AbstractOperation
Constructor and Description |
---|
AbstractGSPOperation(String name)
Creates a new operation
|
AbstractGSPOperation(String name,
String uri)
Creates a new operation
|
Modifier and Type | Method and Description |
---|---|
<T extends Options> |
canRun(Runner<T> runner,
T options)
Report whether the operation can run based on the available options
|
OperationRun |
createErrorInformation(String message,
int category,
long runtime)
Creates run information for an error
|
protected String |
getGraphUri()
Gets the URI of the graph being operated upon,
null is considered
to mean that the default graph is operated upon |
getId, getName, getStats, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCallable, getContentString, getType
public AbstractGSPOperation(String name)
name
- Nameprotected String getGraphUri()
null
is considered
to mean that the default graph is operated uponpublic <T extends Options> boolean canRun(Runner<T> runner, T options)
Operation
runner
- Runneroptions
- Optionspublic OperationRun createErrorInformation(String message, int category, long runtime)
Operation
message
- Error messagecategory
- Error categoryruntime
- RuntimeCopyright © 2015. All rights reserved.