A B C D E F G H I K L M N O P Q R S T U V W X

A

Abort - class org.syrup.functions.Abort.
Copies the first or second input to the first output but if the second input is full, all Link connections will be broken afterwards.
Abort() - Constructor for class org.syrup.functions.Abort
 
Alarm - class org.syrup.functions.Alarm.
Waits for specific date/time to pass and then raises an alarm.
Alarm() - Constructor for class org.syrup.functions.Alarm
 
asDate(long) - Static method in class org.syrup.helpers.Utils
Utility function that maps a timestamp to a formatted date.

B

BShell - class org.syrup.functions.BShell.
Executes a shell command, provided by the first input, using a BlobServer.
BShell() - Constructor for class org.syrup.functions.BShell
 
BlobClient - class org.syrup.services.BlobClient.
Provides BLOB storage functionality by sending requests to the BlobServer.
BlobClient(String, int) - Constructor for class org.syrup.services.BlobClient
 
BlobClient(String) - Constructor for class org.syrup.services.BlobClient
 
BlobClientDeployment - class org.syrup.jndi.BlobClientDeployment.
Deploys a BlobClient.
BlobClientDeployment() - Constructor for class org.syrup.jndi.BlobClientDeployment
 
BlobClientFactory - class org.syrup.services.BlobClientFactory.
Implements an ObjectFactory to build implementations of a BlobClient.
BlobClientFactory() - Constructor for class org.syrup.services.BlobClientFactory
 
BlobServer - class org.syrup.services.BlobServer.
Provides a BLOB storage implementation by handling requests from a BlobClient.
BlobTest - class org.syrup.services.BlobTest.
Provides functionality to test the concurrent behaviour of a BlobServer.
BlobTest() - Constructor for class org.syrup.services.BlobTest
Constructor for the BlobTest object
base64(byte[], SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Utility function that writes a Character SAX event with a base64 encoding of a byte array.
boolean_op(int) - Method in class org.syrup.sql.QueryOperation
Returns the SQL (boolean)qualifier based on the Template qualifier
bytes() - Method in interface org.syrup.Data
Returns the underlying byte array.
bytes() - Method in class org.syrup.helpers.DataImpl
 

C

COPYRIGHT - Static variable in interface org.syrup.Context
 
COPYRIGHT - Static variable in interface org.syrup.Data
 
COPYRIGHT - Static variable in interface org.syrup.Function
 
COPYRIGHT - Static variable in interface org.syrup.InPort
 
COPYRIGHT - Static variable in interface org.syrup.Link
 
COPYRIGHT - Static variable in interface org.syrup.LogEntry
 
COPYRIGHT - Static variable in interface org.syrup.LogEntryTemplate
 
COPYRIGHT - Static variable in interface org.syrup.OutPort
 
COPYRIGHT - Static variable in interface org.syrup.PTask
 
COPYRIGHT - Static variable in interface org.syrup.PTaskTemplate
 
COPYRIGHT - Static variable in interface org.syrup.Port
 
COPYRIGHT - Static variable in interface org.syrup.Result
 
COPYRIGHT - Static variable in interface org.syrup.Task
 
COPYRIGHT - Static variable in interface org.syrup.Template
 
COPYRIGHT - Static variable in interface org.syrup.WorkSpace
 
COPYRIGHT - Static variable in interface org.syrup.Workflow
 
Concat - class org.syrup.functions.Concat.
Concatenates the first and second input (like UNIX cat) to the first output.
Concat() - Constructor for class org.syrup.functions.Concat
 
Constant - class org.syrup.functions.Constant.
Copies the first input to the first output without consuming the first input.
Constant() - Constructor for class org.syrup.functions.Constant
 
Context - interface org.syrup.Context.
The surrounding Context of a PTask.
ContextImpl - class org.syrup.helpers.ContextImpl.
A generic Context Implementation.
ContextImpl(PTask, EndPoint, EndPoint, EndPoint, EndPoint) - Constructor for class org.syrup.helpers.ContextImpl
Constructor for the ContextImpl object
CreationFunctions - class org.syrup.sql.CreationFunctions.
Utility functions to create Syrup Objects using JDBC.
CreationFunctions(SQLImpl) - Constructor for class org.syrup.sql.CreationFunctions
Constructor for the CreationFunctions object
c - Variable in class org.syrup.sql.SyrupConnection
 
characters(char[], int, int) - Method in class org.syrup.helpers.NetworkParser
 
checkAndUpdateDone(String, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Checks and updates the done state of a PTask by executing SQL statements over a Connection.
checkAndUpdateInExecutable(String, boolean, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Checks and updates the execution state of an ingoing PTask by executing SQL statements over a Connection.
checkAndUpdateOutExecutable(String, boolean, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Checks and updates the execution state of an outgoing PTask by executing SQL statements over a Connection.
checkAndUpdateTargetExecutable(String, String, boolean, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Checks and updates the execution state of an ingoing/outgoing PTask by executing SQL statements over a Connection.
checkAndUpdateTargetExecutable(String, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Checks and updates the execution state of a PTask by executing SQL statements over a Connection.
checkDone(String, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns true if a PTask is done by executing SQL statements over a Connection.
checkInDone(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns true if the input Port of a PTask is done by executing SQL statements over a Connection.
checkInLinkFull(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns true if the input Link of a PTask is done by executing SQL statements over a Connection.
checkInLinkFullStatement() - Method in class org.syrup.sql.SQLStatements
Returns select from_task task from link where to_task = ?
checkIsExecutableTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns select worker from task where key_ = ?
checkOrType(String, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns true if a PTask is of type OR by executing SQL statements over a Connection.
checkOutDone(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
 
checkOutLinkFull(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns true if the out Link of a PTask is full by executing SQL statements over a Connection.
checkOutLinkFullStatement() - Method in class org.syrup.sql.SQLStatements
Returns select to_task task from link where from_task = ?
checkTargetLink(String, String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns true if the input Link of a PTask is done by executing SQL statements over a Connection.
checkWorkerStatement() - Method in class org.syrup.sql.SQLStatements
Returns select worker from task where key_ = ?
checkin(String) - Static method in class org.syrup.helpers.ExecutionMonitor
Register a Task that will be executed by the current Worker.
checkout(String) - Static method in class org.syrup.helpers.ExecutionMonitor
Un-registers a Task that has been executed by a Worker (or failed).
clearLinkTableStatement() - Method in class org.syrup.sql.SQLStatements
Returns delete from link
clearTaskTableStatement() - Method in class org.syrup.sql.SQLStatements
Returns delete from task
clearWarnings() - Method in class org.syrup.sql.SyrupConnection
 
close(SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Utility method that closes the Connection.
close(ResultSet) - Method in class org.syrup.sql.GenericFunctions
Utility method that resets the ResultSet.
close() - Method in class org.syrup.sql.SyrupConnection
 
commit() - Method in class org.syrup.sql.SyrupConnection
 
commit_result(Result, SyrupConnection) - Method in class org.syrup.sql.ExecutionFunctions
Commits the Result of an execution by executing SQL statements over a Connection.
connection() - Method in class org.syrup.sql.SQLWorkSpace
Returns the JDBC Connection that is used internally.
content() - Method in interface org.syrup.Link
Returns the content held by the Link.
content() - Method in class org.syrup.helpers.LinkImpl
 
context() - Method in interface org.syrup.Result
Returns the Context from which the Result is computed.
context() - Method in class org.syrup.helpers.ResultImpl
 
context() - Method in class org.syrup.helpers.WorkflowImpl
 
create(long, String, int, String) - Static method in class org.syrup.helpers.LogEntryImpl
 
createExternalStatement() - Method in class org.syrup.sql.SQLStatements
Returns insert into task(key_, parent_key, function_class, name, description, or_type, worker, executable, done, creation_time, modification_time, modifications, is_parent, environment) values('0', '0', '', 'external', 'External world representation', 1, '', 0, 0, 0, 0, 0, 0, '')
createLauncherStatement() - Method in class org.syrup.sql.SQLStatements
Returns insert into task(key_, parent_key, function_class, name, description, or_type, worker, executable, done, creation_time, modification_time, modifications, is_parent) values('1', '0', 'org.syrup.functions.Launch', 'root', 'This is the bootstrapping task', 1, '', 0, 0, 0, 0, 0, 0)
createLink1Statement() - Method in class org.syrup.sql.SQLStatements
Returns insert into link(from_task, from_port, to_task, to_port, data) values('1', 0, '2', 0, null)
createLink2Statement() - Method in class org.syrup.sql.SQLStatements
Returns insert into link(from_task, from_port, to_task, to_port, data) values('1', 1, '2', 1, null)
createLink3Statement() - Method in class org.syrup.sql.SQLStatements
Returns insert into link(from_task, from_port, to_task, to_port, data) values('2', 0, '1', 0, null)
createLink4Statement() - Method in class org.syrup.sql.SQLStatements
Returns insert into link(from_task, from_port, to_task, to_port, data) values('2', 1, '1', 1, null)
createLinkTableStatement() - Method in class org.syrup.sql.SQLStatements
Returns create table link(from_task varchar(255), from_port SMALLINT, to_task varchar(255), to_port SMALLINT, data BLOB)
createLinkTableStatement() - Method in class org.syrup.sql.mysql.MySQLStatements
Returns create table link(from_task varchar(255), from_port SMALLINT, to_task varchar(255), to_port SMALLINT, data BLOB, index(from_task), index(to_task), index(from_task, from_port), index(to_task, to_port)) ENGINE=InnoDB
createLogTableStatement() - Method in class org.syrup.sql.SQLStatements
Returns create table syrup_log(creation_time BIGINT not null, key_ varchar(255) not null, event INT not null, worker varchar(255) not null)
createLogTableStatement() - Method in class org.syrup.sql.mysql.MySQLStatements
Returns create table syrup_log(creation_time BIGINT not null, key_ varchar(255) not null, event INT not null, worker varchar(255) not null, index(creation_time), index(key_), index(event), index(worker)) ENGINE=InnoDB
createNewLinkStatement() - Method in class org.syrup.sql.SQLStatements
Returns insert into link(from_task, from_port, to_task, to_port, data) values(?
createNewLogEntryStatement() - Method in class org.syrup.sql.SQLStatements
Returns insert into syrup_log(creation_time, key_, event, worker) values(?
createNewTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns insert into task(key, parent_key, name, function_class, or_type, description, parameter, environment, modifications, modification_time, creation_time, worker, executable, done, is_parent) values(?
createStatement() - Method in class org.syrup.sql.SyrupConnection
 
createStatement(int, int, int) - Method in class org.syrup.sql.SyrupConnection
 
createStatement(int, int) - Method in class org.syrup.sql.SyrupConnection
 
createTables(SyrupConnection) - Method in class org.syrup.sql.CreationFunctions
Creates an initial Workspace by executing SQL statements over a Connection.
createTaskTableStatement() - Method in class org.syrup.sql.SQLStatements
Returns create table task(key_ varchar(255) not null, parent_key varchar(255) not null, function_class varchar(255) not null, name varchar(255), description varchar(255), parameter varchar(255), environment varchar(255), or_type SMALLINT not null, worker varchar(255) not null, executable SMALLINT not null, done SMALLINT not null, creation_time BIGINT not null, modification_time BIGINT not null, modifications BIGINT not null, is_parent SMALLINT not null)
createTaskTableStatement() - Method in class org.syrup.sql.mysql.MySQLStatements
Returns create table task(key_ varchar(255) not null, parent_key varchar(255) not null, function_class varchar(255) not null, name varchar(255), description varchar(255), parameter varchar(255), environment varchar(255), or_type SMALLINT not null, worker varchar(255) not null, executable SMALLINT not null, done SMALLINT not null, creation_time BIGINT not null, modification_time BIGINT not null, modifications BIGINT not null, is_parent SMALLINT not null, index(key_), index(parent_key), index(function_class), index(name), index(description), index(environment), index(or_type), index(worker), index(executable), index(done), index(creation_time), index(modification_time), index(modifications), index(is_parent), index(executable, worker, creation_time, modification_time, modifications)) ENGINE=InnoDB
creationFunctions() - Method in class org.syrup.sql.SQLImpl
Returns the instance of a CreationFunctions implementation.
creationTime() - Method in interface org.syrup.PTask
Returns the creation time of a PTask.
creationTime() - Method in class org.syrup.helpers.PTaskImpl
 
creationTime() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
creationTime_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the creationTime attribute.
creationTime_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 

D

DONE - Static variable in interface org.syrup.LogEntry
Indicates a done Task event.
Data - interface org.syrup.Data.
Encapsulates immutable data.
DataImpl - class org.syrup.helpers.DataImpl.
A generic Data Implementation.
DataImpl(byte[]) - Constructor for class org.syrup.helpers.DataImpl
Constructor for the DataImpl object
DefaultWorker - class org.syrup.workers.DefaultWorker.
The default Worker implementation that executes PTasks taken from a WorkSpace.
DefaultWorker() - Constructor for class org.syrup.workers.DefaultWorker
 
Duplicate - class org.syrup.functions.Duplicate.
Duplicates either the first or second input to both first and second output.
Duplicate() - Constructor for class org.syrup.functions.Duplicate
 
data - Variable in class org.syrup.helpers.EndPoint
The Data held by the associated Link.
dataSource() - Method in class org.syrup.sql.SQLWorkSpace
Returns the DataSource to create JDBC connections from.
description() - Method in interface org.syrup.Task
Returns the defined description of a Task.
description() - Method in class org.syrup.helpers.PTaskImpl
 
description() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
description() - Method in class org.syrup.helpers.TaskImpl
 
description_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the description attribute.
description_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
done() - Method in interface org.syrup.PTask
Returns true if this PTask is done.
done() - Method in class org.syrup.helpers.PTaskImpl
 
done() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
done_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the done attribute.
done_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
dropLinkTableStatement() - Method in class org.syrup.sql.SQLStatements
Returns Returns drop table link
dropTaskTableStatement() - Method in class org.syrup.sql.SQLStatements
Returns drop table task

E

ENDED - Static variable in interface org.syrup.LogEntry
Indicates a ended Task event.
EQUAL - Static variable in interface org.syrup.Template
Match an attribute on the 'is equal' qualifier.
EVENT - Static variable in interface org.syrup.LogEntry
Indicates a generic event.
EndPoint - class org.syrup.helpers.EndPoint.
Temporary data structure to aid the creation of WorkFlows.
EndPoint(PTask, boolean, Data) - Constructor for class org.syrup.helpers.EndPoint
Constructor for the EndPoint object
ExecutionFunctions - class org.syrup.sql.ExecutionFunctions.
Utility functions to execute Syrup PTasks using JDBC.
ExecutionFunctions(SQLImpl) - Constructor for class org.syrup.sql.ExecutionFunctions
Constructor for the ExecutionFunctions object
ExecutionMonitor - class org.syrup.helpers.ExecutionMonitor.
Implements a simple request/response server during the execution of a Task.
end(String, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Ends an element tag.
end(PTask, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Ends the PTask to be serialized.
end(LogEntry, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
 
end(Context, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Description of the Method
endDocument(String, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Ends the serialization with an end tag.
endElement(String, String, String) - Method in class org.syrup.helpers.NetworkParser
 
endPrefixMapping(String) - Method in class org.syrup.helpers.NetworkParser
 
environment() - Method in interface org.syrup.Task
Returns the logical environment of the Task.
environment() - Method in class org.syrup.helpers.PTaskImpl
 
environment() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
environment() - Method in class org.syrup.helpers.TaskImpl
 
environment_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the environment attribute.
environment_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
event() - Method in interface org.syrup.LogEntry
 
event() - Method in class org.syrup.helpers.LogEntryImpl
 
event() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
event_match() - Method in interface org.syrup.LogEntryTemplate
Returns the qualifier used to match the event attribute.
event_match() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
executable() - Method in interface org.syrup.PTask
Returns true if this PTask is executable.
executable() - Method in class org.syrup.helpers.PTaskImpl
 
executable() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
executable_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the executable attribute.
executable_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
execute(Context) - Method in interface org.syrup.Function
Generates a Result given a Task's Context.
execute(PTask) - Method in interface org.syrup.WorkSpace
Executes a single Task.
execute(Context) - Method in class org.syrup.functions.Abort
 
execute(Context) - Method in class org.syrup.functions.Alarm
 
execute(Context) - Method in class org.syrup.functions.BShell
 
execute(Context) - Method in class org.syrup.functions.Concat
 
execute(Context) - Method in class org.syrup.functions.Constant
 
execute(Context) - Method in class org.syrup.functions.Duplicate
 
execute(Context) - Method in class org.syrup.functions.Finish
 
execute(Context) - Method in class org.syrup.functions.Flip
 
execute(Context) - Method in class org.syrup.functions.Initiate
 
execute(Context) - Method in class org.syrup.functions.Launch
 
execute(Context) - Method in class org.syrup.functions.Null
 
execute(Context) - Method in class org.syrup.functions.Shell
 
execute(Context) - Method in class org.syrup.functions.Split
 
execute(PTask) - Method in class org.syrup.sql.SQLWorkSpace
 
execute(WorkSpace, PTaskTemplate, long, long) - Static method in class org.syrup.workers.DefaultWorker
Executes PTasks that match a PTaskTemplate by writing them out in XML format.
executionFunctions() - Method in class org.syrup.sql.SQLImpl
Returns the instance of a ExecutionFunctions implementation.

F

FAILED - Static variable in interface org.syrup.LogEntry
Indicates a failed Task event.
Finish - class org.syrup.functions.Finish.
Checks if the Task that is connected to the first input is done and if not, the first input will be copied to the first output.
Finish() - Constructor for class org.syrup.functions.Finish
 
Flip - class org.syrup.functions.Flip.
Flips the first input in such a way that if the first input is 0, the first output will be 1.
Flip() - Constructor for class org.syrup.functions.Flip
 
Function - interface org.syrup.Function.
The function of a Task that is executed by a Worker.
Functions - class org.syrup.sql.Functions.
Holds a SQLImpl instance that can be accessed by a concrete subclass.
Functions(SQLImpl) - Constructor for class org.syrup.sql.Functions
 
from() - Method in interface org.syrup.Link
Returns the OutPort of the Link.
from() - Method in class org.syrup.helpers.LinkImpl
 
functionClass() - Method in interface org.syrup.Task
Returns the classname of the Function.
functionClass() - Method in class org.syrup.helpers.PTaskImpl
 
functionClass() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
functionClass() - Method in class org.syrup.helpers.TaskImpl
 
functionClass_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the functionClass attribute.
functionClass_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 

G

GOT - Static variable in interface org.syrup.LogEntry
Indicates a got Task event.
GREATER - Static variable in interface org.syrup.Template
Match an attribute on the 'greater then' qualifier.
GREATER_EQUAL - Static variable in interface org.syrup.Template
Match an attribute on the 'greater or equal' qualifier.
GenericFunctions - class org.syrup.sql.GenericFunctions.
Utility to implement generic WorkSpace functions using JDBC.
GenericFunctions(SQLImpl) - Constructor for class org.syrup.sql.GenericFunctions
Constructor for the GenericFunctions object
genericFunctions() - Method in class org.syrup.sql.SQLImpl
Returns the instance of a GenericFunctions implementation.
get(PTaskTemplate) - Method in interface org.syrup.WorkSpace
Get the Contexts of PTasks that match the PTaskTemplate.
get(InputStream, OutputStream) - Method in class org.syrup.services.BlobClient
 
get(PTaskTemplate, SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Get the Contexts of PTasks that match the PTaskTemplate.
get(PTaskTemplate) - Method in class org.syrup.sql.SQLWorkSpace
 
get(WorkSpace, PTaskTemplate, OutputStream) - Static method in class org.syrup.workers.DefaultWorker
Get the Contexts that match a PTaskTemplate by writing them out in XML format.
getAutoCommit() - Method in class org.syrup.sql.SyrupConnection
 
getCatalog() - Method in class org.syrup.sql.SyrupConnection
 
getException() - Method in class org.syrup.helpers.Writer
Gets the exception attribute of the Writer object.
getException() - Method in class org.syrup.test.PureFunctionsRun
 
getHoldability() - Method in class org.syrup.sql.SyrupConnection
 
getLocation() - Method in class org.syrup.services.BlobClient
 
getMetaData() - Method in class org.syrup.sql.SyrupConnection
 
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.syrup.jndi.SyrupFactory
 
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.syrup.services.BlobClientFactory
 
getReference() - Method in class org.syrup.services.BlobClient
 
getReference() - Method in class org.syrup.sql.SQLImpl
 
getReference() - Method in class org.syrup.sql.SQLWorkSpace
 
getTransactionIsolation() - Method in class org.syrup.sql.SyrupConnection
 
getTypeMap() - Method in class org.syrup.sql.SyrupConnection
 
getWarnings() - Method in class org.syrup.sql.SyrupConnection
 
get_out_1() - Method in interface org.syrup.WorkSpace
Get the first output.
get_out_1(SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Returns the first output by executing SQL statements over a Connection..
get_out_1() - Method in class org.syrup.sql.SQLWorkSpace
 
get_out_2() - Method in interface org.syrup.WorkSpace
Get the second output.
get_out_2(SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Returns the second output by executing SQL statements over a Connection..
get_out_2() - Method in class org.syrup.sql.SQLWorkSpace
 

H

host - Variable in class org.syrup.services.BlobClient
 

I

IGNORE - Static variable in interface org.syrup.Template
Ignores the matching attribute.
IN_1 - Static variable in interface org.syrup.LogEntry
Indicates an event related to the first input.
IN_2 - Static variable in interface org.syrup.LogEntry
Indicates an event related to the second input.
InPort - interface org.syrup.InPort.
An input port of a Task.
InPortImpl - class org.syrup.helpers.InPortImpl.
An generic InPort implementation.
InPortImpl(Task, boolean) - Constructor for class org.syrup.helpers.InPortImpl
Constructor for the InPortImpl object
Initiate - class org.syrup.functions.Initiate.
Copies the first input to the second output while it replaces it with a Duplicate Task.
Initiate() - Constructor for class org.syrup.functions.Initiate
 
ignorableWhitespace(char[], int, int) - Method in class org.syrup.helpers.NetworkParser
 
in_1_binding() - Method in interface org.syrup.Workflow
Returns the new InPort that the parent's first input will be re-linked to.
in_1_binding() - Method in class org.syrup.helpers.NetworkImpl
 
in_1_binding() - Method in class org.syrup.helpers.WorkflowImpl
 
in_1_consumed() - Method in interface org.syrup.Result
Returns true if the first input has been consumed.
in_1_consumed() - Method in class org.syrup.helpers.ResultImpl
 
in_1_consumed() - Method in class org.syrup.helpers.WorkflowImpl
 
in_1_link() - Method in interface org.syrup.Context
The first input Link of this Context's PTask.
in_1_link() - Method in class org.syrup.helpers.ContextImpl
 
in_2_binding() - Method in interface org.syrup.Workflow
Returns the new InPort that the parent's second input will be re-linked to.
in_2_binding() - Method in class org.syrup.helpers.NetworkImpl
 
in_2_binding() - Method in class org.syrup.helpers.WorkflowImpl
 
in_2_consumed() - Method in interface org.syrup.Result
Returns true if the second input has been consumed.
in_2_consumed() - Method in class org.syrup.helpers.ResultImpl
 
in_2_consumed() - Method in class org.syrup.helpers.WorkflowImpl
 
in_2_link() - Method in interface org.syrup.Context
The second input Link of this Context's PTask.
in_2_link() - Method in class org.syrup.helpers.ContextImpl
 
isClosed() - Method in class org.syrup.sql.SyrupConnection
 
isDone(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class org.syrup.helpers.Utils
Returns true if a Task is done based on type and if its inputs are also done.
isExecutable(boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class org.syrup.helpers.Utils
Returns true if a Task is executable based on type and whether its inputs are filled and all its outputs are empty.
isFull(Link) - Static method in class org.syrup.helpers.Utils
Returns true if the Link has content.
isParent() - Method in interface org.syrup.PTask
Returns true if this PTask is a parent.
isParent() - Method in class org.syrup.helpers.PTaskImpl
 
isParent() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
isParent_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the isParent attribute.
isParent_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
isReadOnly() - Method in class org.syrup.sql.SyrupConnection
 
isSecond() - Method in interface org.syrup.Port
Returns true if the Port number is 2.
isSecond() - Method in class org.syrup.helpers.InPortImpl
 
isSecond() - Method in class org.syrup.helpers.OutPortImpl
 

K

key() - Method in interface org.syrup.LogEntry
 
key() - Method in interface org.syrup.PTask
Returns the key that the WorkSpace uses to identify a PTask.
key() - Method in class org.syrup.helpers.LogEntryImpl
 
key() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
key() - Method in class org.syrup.helpers.PTaskImpl
 
key() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
key_match() - Method in interface org.syrup.LogEntryTemplate
Returns the qualifier used to match the key attribute.
key_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the key attribute.
key_match() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
key_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 

L

LESS - Static variable in interface org.syrup.Template
Match an attribute on the 'less then' qualifier.
LESS_EQUAL - Static variable in interface org.syrup.Template
Match an attribute on the 'less or equal' qualifier.
LIKE - Static variable in interface org.syrup.Template
Match an attribute on the 'like' qualifier.
Launch - class org.syrup.functions.Launch.
Takes a XML Workflow description and returns a WorkFlow.
Launch() - Constructor for class org.syrup.functions.Launch
 
Link - interface org.syrup.Link.
Links an InPort from one Task to an OutPort of another Task.
LinkImpl - class org.syrup.helpers.LinkImpl.
A generic Link Implementation.
LinkImpl(OutPort, InPort, Data) - Constructor for class org.syrup.helpers.LinkImpl
Constructor for the LinkImpl object
LogEntry - interface org.syrup.LogEntry.
Encapsulates a Log entry.
LogEntryImpl - class org.syrup.helpers.LogEntryImpl.
A generic LogEntry Implementation.
LogEntryImpl(long, String, int, String) - Constructor for class org.syrup.helpers.LogEntryImpl
 
LogEntryTemplate - interface org.syrup.LogEntryTemplate.
A template example of a LogEntry.
LogEntryTemplateImpl - class org.syrup.helpers.LogEntryTemplateImpl.
A generic LogEntryTemplateImpl implementation.
LogEntryTemplateImpl(String[]) - Constructor for class org.syrup.helpers.LogEntryTemplateImpl
Constructor for the LogEntryTemplateImpl object
LoggingFunctions - class org.syrup.sql.LoggingFunctions.
Utility functions to log Syrup Events using JDBC.
LoggingFunctions(SQLImpl) - Constructor for class org.syrup.sql.LoggingFunctions
Constructor for the LoggingFunctions object
links() - Method in interface org.syrup.Workflow
Returns all Links between Tasks of this Workflow.
links() - Method in class org.syrup.helpers.NetworkImpl
 
links() - Method in class org.syrup.helpers.WorkflowImpl
 
log(String, int, SyrupConnection) - Method in class org.syrup.sql.LoggingFunctions
Logs important Syrup Events by executing SQL statements over a Connection.
loggingFunctions() - Method in class org.syrup.sql.SQLImpl
Returns the instance of a LoggingFunctions implementation.

M

MATCHED - Static variable in interface org.syrup.LogEntry
Indicates a matched Task event.
MySQLDeployment - class org.syrup.jndi.MySQLDeployment.
Deploys a SQL implementation of Syrup.
MySQLDeployment() - Constructor for class org.syrup.jndi.MySQLDeployment
 
MySQLImpl - class org.syrup.sql.mysql.MySQLImpl.
Groups all MySQL related functions to implement Syrup.
MySQLImpl() - Constructor for class org.syrup.sql.mysql.MySQLImpl
 
MySQLStatements - class org.syrup.sql.mysql.MySQLStatements.
Utility class that provides all the MySQL statements needed for the creation, updating and deletion of Syrup objects.
MySQLStatements(SQLImpl) - Constructor for class org.syrup.sql.mysql.MySQLStatements
Constructor for the MySQLStatements object
main(String[]) - Static method in class org.syrup.helpers.NetworkParser
The main program for the NetworkParser class
main(String[]) - Static method in class org.syrup.jndi.BlobClientDeployment
Called from the command line.
main(String[]) - Static method in class org.syrup.jndi.MySQLDeployment
The MySQL deployment function.
main(String[]) - Static method in class org.syrup.jndi.SQLDeployment
The default SQL deployment is the MySQL deployment.
main(String[]) - Static method in class org.syrup.services.BlobClient
 
main(String[]) - Static method in class org.syrup.services.BlobServer
 
main(String[]) - Static method in class org.syrup.services.BlobTest
The main program for the BlobTest class
main(String[]) - Static method in class org.syrup.test.PureFunctionsRun
 
main(String[]) - Static method in class org.syrup.workers.DefaultWorker
Start the Worker as a daemon or to execute a Syrup command using System.in and System.out for input and output.
manageError(Logger, Throwable, String) - Static method in class org.syrup.helpers.Utils
 
map(int) - Static method in class org.syrup.helpers.LogEntryImpl
 
match(PTaskTemplate) - Method in interface org.syrup.WorkSpace
Get PTasks matching the PTaskTemplate.
match(LogEntryTemplate) - Method in interface org.syrup.WorkSpace
 
match(PTaskTemplate, SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Get PTasks matching the PTaskTemplate.
match(LogEntryTemplate, SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Get LogEntries matching the LogEntryTemplate.
match(PTaskTemplate) - Method in class org.syrup.sql.SQLWorkSpace
 
match(LogEntryTemplate) - Method in class org.syrup.sql.SQLWorkSpace
 
match(WorkSpace, PTaskTemplate, OutputStream) - Static method in class org.syrup.workers.DefaultWorker
Return PTasks that match a PTaskTemplate by writing them out in XML format.
match(WorkSpace, LogEntryTemplate, OutputStream) - Static method in class org.syrup.workers.DefaultWorker
Return LogEntries that match a LogEntryTemplate by writing them out in XML format.
modificationTime() - Method in interface org.syrup.PTask
Returns the last modification time since creation.
modificationTime() - Method in class org.syrup.helpers.PTaskImpl
 
modificationTime() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
modificationTime_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the modificationTime attribute.
modificationTime_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
modifications() - Method in interface org.syrup.PTask
Returns the number of modifications since creation.
modifications() - Method in class org.syrup.helpers.PTaskImpl
 
modifications() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
modifications_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the modifications attribute.
modifications_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
monitors() - Static method in class org.syrup.helpers.ExecutionMonitor
 

N

NEW - Static variable in interface org.syrup.LogEntry
Indicates a new Task event.
NOT - Static variable in interface org.syrup.Template
Match an attribute on the 'not' qualifier.
NOT_LIKE - Static variable in interface org.syrup.Template
Match an attribute on the 'not like' qualifier.
NetworkImpl - class org.syrup.helpers.NetworkImpl.
Temporary data structure that reflects the incarnation of a WorkFlow.
NetworkImpl(InPort, InPort, OutPort, OutPort, Task[], Link[]) - Constructor for class org.syrup.helpers.NetworkImpl
Constructor for the NetworkImpl object
NetworkParser - class org.syrup.helpers.NetworkParser.
XML parser that parses a Workflow definition into a Network.
NetworkParser() - Constructor for class org.syrup.helpers.NetworkParser
 
Null - class org.syrup.functions.Null.
Passes the first input to the first output and the second input to the second output.
Null() - Constructor for class org.syrup.functions.Null
 
NullInputStream - class org.syrup.test.NullInputStream.
An InputStream that hasn't got any input.
NullInputStream() - Constructor for class org.syrup.test.NullInputStream
 
NullOutputStream - class org.syrup.test.NullOutputStream.
An OutputStream that sends it's output to void.
NullOutputStream() - Constructor for class org.syrup.test.NullOutputStream
 
name() - Method in interface org.syrup.Task
Returns the defined name of a Task.
name() - Method in class org.syrup.helpers.PTaskImpl
 
name() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
name() - Method in class org.syrup.helpers.TaskImpl
 
name_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the name attribute.
name_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
nativeSQL(String) - Method in class org.syrup.sql.SyrupConnection
 
newLink(Link, Hashtable, SyrupConnection) - Method in class org.syrup.sql.CreationFunctions
Creates a new Link by executing SQL statements over a Connection.
newTask(Task, PTask, SyrupConnection) - Method in class org.syrup.sql.CreationFunctions
Creates a new Task by executing SQL statements over a Connection.
number_op(int) - Method in class org.syrup.sql.QueryOperation
Returns the SQL (number)qualifier based on the Template qualifier

O

OUT_1 - Static variable in interface org.syrup.LogEntry
Indicates an event related to the first output.
OUT_2 - Static variable in interface org.syrup.LogEntry
Indicates an event related to the second output.
OutPort - interface org.syrup.OutPort.
An output port of a Task.
OutPortImpl - class org.syrup.helpers.OutPortImpl.
An generic OutPort implementation.
OutPortImpl(Task, boolean) - Constructor for class org.syrup.helpers.OutPortImpl
Constructor for the OutPortImpl object
operate(String[], InputStream, OutputStream) - Static method in class org.syrup.test.PureFunctionsRun
 
operate(String[], InputStream, OutputStream) - Static method in class org.syrup.workers.DefaultWorker
The main entry to start the Worker as a daemon, or to execute a Syrup command.
operator(Object) - Static method in class org.syrup.helpers.TemplateImpl
Maps an Object to a qualifier
operators - Variable in class org.syrup.helpers.TemplateImpl
 
orType() - Method in interface org.syrup.Task
Returns true if the type is OR.
orType() - Method in class org.syrup.helpers.PTaskImpl
 
orType() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
orType() - Method in class org.syrup.helpers.TaskImpl
 
orType_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the orType attribute.
orType_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
org.syrup - package org.syrup
Provides all the basic Syrup interfaces.
org.syrup.functions - package org.syrup.functions
Provides the most used Syrup Functions..
org.syrup.helpers - package org.syrup.helpers
Provides the most used implementations of Syrup interfaces.
org.syrup.jndi - package org.syrup.jndi
Provides for JNDI deployed objects needed by Syrup.
org.syrup.services - package org.syrup.services
The Client/Server framework for transferring/storing large binary streams.
org.syrup.sql - package org.syrup.sql
The concrete RDMS/JDBC implementation of Syrup.
org.syrup.sql.mysql - package org.syrup.sql.mysql
The MySQL optimized RDMS/JDBC implementation of Syrup.
org.syrup.test - package org.syrup.test
Contains Unit Testing functionality to stress and correct Syrup.
org.syrup.workers - package org.syrup.workers
Provides for the default Worker implementations.
out_1_binding() - Method in interface org.syrup.Workflow
Returns the new OutPort that the parent's first output will be re-linked to.
out_1_binding() - Method in class org.syrup.helpers.NetworkImpl
 
out_1_binding() - Method in class org.syrup.helpers.WorkflowImpl
 
out_1_link() - Method in interface org.syrup.Context
The first output Link of this Context's PTask.
out_1_link() - Method in class org.syrup.helpers.ContextImpl
 
out_1_result() - Method in interface org.syrup.Result
Returns the first resulting output.
out_1_result() - Method in class org.syrup.helpers.ResultImpl
 
out_1_result() - Method in class org.syrup.helpers.WorkflowImpl
 
out_2_binding() - Method in interface org.syrup.Workflow
Returns the new OutPort that the parent's second output will be re-linked to.
out_2_binding() - Method in class org.syrup.helpers.NetworkImpl
 
out_2_binding() - Method in class org.syrup.helpers.WorkflowImpl
 
out_2_link() - Method in interface org.syrup.Context
The second output Link of this Context's PTask.
out_2_link() - Method in class org.syrup.helpers.ContextImpl
 
out_2_result() - Method in interface org.syrup.Result
Return the second resulting output.
out_2_result() - Method in class org.syrup.helpers.ResultImpl
 
out_2_result() - Method in class org.syrup.helpers.WorkflowImpl
 
output(PTask, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Serializes a PTask.
output(Context, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Serializes a Context.
output(LogEntry, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
 
output(Data, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Serializes a Data instance..
output(byte[], SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Writes the byte array as SAX event(s).

P

PANIC - Static variable in interface org.syrup.LogEntry
Indicates a generic panic event.
PTask - interface org.syrup.PTask.
A persistent Task that is held by a WorkSpace.
PTaskImpl - class org.syrup.helpers.PTaskImpl.
A generic PTask Implementation.
PTaskImpl(String, String, boolean, String, String, String, String, String, boolean, long, long, long, boolean, String, boolean) - Constructor for class org.syrup.helpers.PTaskImpl
Constructor for the PTaskImpl object
PTaskTemplate - interface org.syrup.PTaskTemplate.
A template example of a PTask.
PTaskTemplateImpl - class org.syrup.helpers.PTaskTemplateImpl.
A generic PTaskTemplate implementation.
PTaskTemplateImpl(String[]) - Constructor for class org.syrup.helpers.PTaskTemplateImpl
Constructor for the PTaskTemplateImpl object
Port - interface org.syrup.Port.
An input/output port of a Task.
PureFunctionsRun - class org.syrup.test.PureFunctionsRun.
Takes a Workflow from stdin that should only contain pure Tasks and executes the Workflow by multiple Workers.
PureFunctionsRun() - Constructor for class org.syrup.test.PureFunctionsRun
 
parameter() - Method in interface org.syrup.Task
Returns the static parameter to parameterize the Task.
parameter() - Method in class org.syrup.helpers.PTaskImpl
 
parameter() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
parameter() - Method in class org.syrup.helpers.TaskImpl
 
parameter_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the parameter attribute.
parameter_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
parentKey() - Method in interface org.syrup.PTask
Returns the parent identifier.
parentKey() - Method in class org.syrup.helpers.PTaskImpl
 
parentKey() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
parentKey_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the parentKey attribute.
parentKey_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
parse(byte[]) - Method in class org.syrup.helpers.NetworkParser
Parses a XML network description deserialized from a byte array.
parse(InputStream) - Method in class org.syrup.helpers.NetworkParser
Parses a XML network description, fed by an InputStream.
parseDate(String) - Static method in class org.syrup.helpers.Utils
Utility function that parses a formatted date to a timestamp.
parseEvent(String) - Static method in class org.syrup.helpers.LogEntryImpl
 
parseEvents(String) - Static method in class org.syrup.helpers.LogEntryImpl
 
port - Variable in class org.syrup.helpers.EndPoint
The port number of the PTask this EndPoint connects to.
port - Variable in class org.syrup.services.BlobClient
 
portAttributes(Port) - Method in class org.syrup.helpers.XMLOutput
Returns the mapped Attributes of a Port.
post(InputStream, OutputStream) - Method in class org.syrup.services.BlobClient
 
prepareCall(String, int, int, int) - Method in class org.syrup.sql.SyrupConnection
 
prepareCall(String, int, int) - Method in class org.syrup.sql.SyrupConnection
 
prepareCall(String) - Method in class org.syrup.sql.SyrupConnection
 
prepareStatement(String, int, int, int) - Method in class org.syrup.sql.SyrupConnection
 
prepareStatement(String, int, int) - Method in class org.syrup.sql.SyrupConnection
 
prepareStatement(String, int) - Method in class org.syrup.sql.SyrupConnection
 
prepareStatement(String, int[]) - Method in class org.syrup.sql.SyrupConnection
 
prepareStatement(String, String[]) - Method in class org.syrup.sql.SyrupConnection
 
prepareStatement(String) - Method in class org.syrup.sql.SyrupConnection
 
prepareStatementFromCache(String) - Method in class org.syrup.sql.SyrupConnection
 
processingInstruction(String, String) - Method in class org.syrup.helpers.NetworkParser
 

Q

QueryFunctions - class org.syrup.sql.QueryFunctions.
Utility functions to query Syrup objects using JDBC.
QueryFunctions(SQLImpl) - Constructor for class org.syrup.sql.QueryFunctions
Constructor for the QueryFunctions object
QueryOperation - class org.syrup.sql.QueryOperation.
Temporary data structure to aid the construction of qualified SQL queries.
QueryOperation(Template, String, String) - Constructor for class org.syrup.sql.QueryOperation
Constructor for the QueryOperation object
queryFunctions() - Method in class org.syrup.sql.SQLImpl
Returns the instance of a QueryFunctions implementation.
queryOp(Integer, Object) - Method in class org.syrup.sql.QueryOperation
Returns the mapped SQL qualifier based on the Template qualifier and the qualifier value.

R

RESET - Static variable in interface org.syrup.LogEntry
Indicates a resetted Task event.
REWIRED - Static variable in interface org.syrup.LogEntry
Indicates a rewired Link event.
Result - interface org.syrup.Result.
The execution result returned by the Task's Function.
ResultImpl - class org.syrup.helpers.ResultImpl.
A generic Result implementation.
ResultImpl(Context, boolean, boolean, Data, Data) - Constructor for class org.syrup.helpers.ResultImpl
Constructor for the ResultImpl object
read(InputStream, OutputStream) - Method in class org.syrup.services.BlobClient
 
read() - Method in class org.syrup.test.NullInputStream
 
readConnection() - Method in class org.syrup.sql.SQLWorkSpace
Returns the read-only SyrupConnection that is used internally.
readContext(PTask, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the Context of a PTask by executing SQL statements over a Connection.
readData(ResultSet, String) - Method in class org.syrup.sql.QueryFunctions
Returns the Data contained by a ResultSet.
readInEndPoint(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the in EndPoint of a PTask by executing SQL statements over a Connection.
readInTask(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the in PTask identifier of a PTask by executing SQL statements over a Connection.
readLogEntry(ResultSet) - Method in class org.syrup.sql.QueryFunctions
Returns a LogEntry held by a ResultSet
readOutEndPoint(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the out EndPoint of a PTask by executing SQL statements over a Connection.
readOutTask(String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the out PTask identifier of a PTask by executing SQL statements over a Connection.
readPTask(String, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the PTask, given an identifier, by executing SQL statements over a Connection.
readPTask(ResultSet) - Method in class org.syrup.sql.QueryFunctions
Returns a PTask held by a ResultSet
readTargetEndPoint(String, String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the in/out EndPoint of a PTask by executing SQL statements over a Connection.
readTargetLinkTask(String, String, boolean, SyrupConnection) - Method in class org.syrup.sql.QueryFunctions
Returns the in/out PTask identifier of a PTask by executing SQL statements over a Connection.
releaseSavepoint(Savepoint) - Method in class org.syrup.sql.SyrupConnection
 
remove(PTask[]) - Method in interface org.syrup.WorkSpace
Remove PTasks that are done.
remove(PTask[]) - Method in class org.syrup.sql.SQLWorkSpace
 
reset() - Method in interface org.syrup.WorkSpace
Resets the WorkSpace to the initial state.
reset(SyrupConnection) - Method in class org.syrup.sql.CreationFunctions
Empties the Workspace by executing SQL statements over a Connection.
reset(SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Resets the WorkSpace to the initial state.
reset() - Method in class org.syrup.sql.SQLWorkSpace
 
resetWorkerStatement() - Method in class org.syrup.sql.SQLStatements
Returns update task set worker = '' where key_ = ?
resolveEntity(String, String) - Method in class org.syrup.helpers.XMLOutput
 
rewireInLink(String, boolean, InPort, Hashtable, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Rewires the input Link from one PTask to another by executing SQL statements over a Connection.
rewireInLinkStatement() - Method in class org.syrup.sql.SQLStatements
Returns update link set to_task = ?
rewireLink(String, String, boolean, Port, Hashtable, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Rewires the input/output Link from one PTask to another PTask by executing SQL statements over a Connection.
rewireOutLink(String, boolean, OutPort, Hashtable, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Rewires the output Link from one PTask to another by executing SQL statements over a Connection.
rewireOutLinkStatement() - Method in class org.syrup.sql.SQLStatements
Returns update link set from_task = ?
rollback() - Method in class org.syrup.sql.SyrupConnection
 
rollback(Savepoint) - Method in class org.syrup.sql.SyrupConnection
 
run() - Method in class org.syrup.functions.BShell
Main processing method for the BShell object
run() - Method in class org.syrup.functions.Shell
Executed when the JVM is in shutdown.
run() - Method in class org.syrup.helpers.ExecutionMonitor
Main processing method for the ExecutionMonitor object
run() - Method in class org.syrup.helpers.Writer
 
run() - Method in class org.syrup.services.BlobServer
Main processing method for the BlobServer object
run() - Method in class org.syrup.services.BlobTest
Main processing method for the BlobTest object
run() - Method in class org.syrup.test.PureFunctionsRun
 

S

SQLDeployment - class org.syrup.jndi.SQLDeployment.
Deploys a SQL implementation of Syrup.
SQLDeployment() - Constructor for class org.syrup.jndi.SQLDeployment
 
SQLImpl - class org.syrup.sql.SQLImpl.
Groups all SQL related functions to implement Syrup.
SQLImpl() - Constructor for class org.syrup.sql.SQLImpl
 
SQLStatements - class org.syrup.sql.SQLStatements.
Utility class that provides all the SQL statements needed for the creation, updating and deletion of Syrup objects.
SQLStatements(SQLImpl) - Constructor for class org.syrup.sql.SQLStatements
Constructor for the SQLStatements object
SQLWorkSpace - class org.syrup.sql.SQLWorkSpace.
Provides a JDBC implementation of a WorkSpace.
SQLWorkSpace() - Constructor for class org.syrup.sql.SQLWorkSpace
 
STARTED - Static variable in interface org.syrup.LogEntry
Indicates a started Task event.
STOPPED - Static variable in interface org.syrup.LogEntry
Indicates a stopped Task event.
Shell - class org.syrup.functions.Shell.
Executes a shell command provided by the first input.
Shell() - Constructor for class org.syrup.functions.Shell
 
Split - class org.syrup.functions.Split.
Takes the first input and splits the head of the first input to the first output and the tail to the second output.
Split() - Constructor for class org.syrup.functions.Split
 
SyrupConnection - class org.syrup.sql.SyrupConnection.
JDBC Connection wrapper adding caching capabilities with prepareStatementFromCache.
SyrupConnection(Connection) - Constructor for class org.syrup.sql.SyrupConnection
 
SyrupFactory - class org.syrup.jndi.SyrupFactory.
Implements an ObjectFactory to build implementations of Syrup.
SyrupFactory() - Constructor for class org.syrup.jndi.SyrupFactory
 
selectDoneStatement() - Method in class org.syrup.sql.SQLStatements
Returns select done from task where key_ = ?
selectFromTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns select from_task task from link where to_task=?
selectInLinkStatement() - Method in class org.syrup.sql.SQLStatements
Returns select from_task task, from_port port, data from link where to_task = ?
selectInLinkTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns select from_task task from link where to_task = ?
selectLogEntriesStatement() - Method in class org.syrup.sql.SQLStatements
 
selectOutLinkStatement() - Method in class org.syrup.sql.SQLStatements
Returns select to_task task, to_port port, data from link where from_task = ?
selectOutLinkTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns select to_task task from link where from_task = ?
selectTaskKeyStatement() - Method in class org.syrup.sql.SQLStatements
Returns select key_ from task where key_ = ?
selectTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns select task.key_, task.parent_key, task.or_type, task.function_class, task.name, task.description, task.parameter, task.environment, task.done, task.creation_time, task.modification_time, task.modifications, task.worker, task.executable, task.is_parent from task where key_=?
selectTasksStatement() - Method in class org.syrup.sql.SQLStatements
Returns select task.key_, task.parent_key, task.or_type, task.function_class, task.name, task.description, task.parameter, task.environment, task.done, task.creation_time, task.modification_time, task.modifications, task.worker, task.executable, task.is_parent from task
selectToTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns select to_task task from link where from_task=?
selectTypeStatement() - Method in class org.syrup.sql.SQLStatements
Returns select or_type from task where key_ = ?
serialVersionUID - Static variable in class org.syrup.services.BlobClient
 
serialVersionUID - Static variable in class org.syrup.sql.SQLWorkSpace
 
setAutoCommit(boolean) - Method in class org.syrup.sql.SyrupConnection
 
setCatalog(String) - Method in class org.syrup.sql.SyrupConnection
 
setHoldability(int) - Method in class org.syrup.sql.SyrupConnection
 
setReadOnly(boolean) - Method in class org.syrup.sql.SyrupConnection
 
setSavepoint() - Method in class org.syrup.sql.SyrupConnection
 
setSavepoint(String) - Method in class org.syrup.sql.SyrupConnection
 
setTransactionIsolation(int) - Method in class org.syrup.sql.SyrupConnection
 
setTypeMap(Map) - Method in class org.syrup.sql.SyrupConnection
 
set_in_1(Data) - Method in interface org.syrup.WorkSpace
Set the first input.
set_in_1(Data, SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Sets the first input by executing SQL statements over a Connection..
set_in_1(Data) - Method in class org.syrup.sql.SQLWorkSpace
 
set_in_2(Data) - Method in interface org.syrup.WorkSpace
Set the second input.
set_in_2(Data, SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Sets the second input by executing SQL statements over a Connection..
set_in_2(Data) - Method in class org.syrup.sql.SQLWorkSpace
 
skippedEntity(String) - Method in class org.syrup.helpers.NetworkParser
 
sqlAtt - Variable in class org.syrup.sql.QueryOperation
The SQL attribute.
sqlImpl() - Method in class org.syrup.sql.Functions
Returns the SQLImpl that is held by this Function instance.
sqlImpl() - Method in class org.syrup.sql.SQLWorkSpace
Returns an instance of a SQLImpl.
sqlOp - Variable in class org.syrup.sql.QueryOperation
The SQL qualifier.
sqlStatements() - Method in class org.syrup.sql.SQLImpl
Returns the instance of a SQLStatements implementation.
sqlStatements() - Method in class org.syrup.sql.mysql.MySQLImpl
 
start(String, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Starts a new element tag.
start(PTask, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Starts the PTask to be serialized.
start(LogEntry, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
 
start(Context, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Description of the Method
start(PTask, String, SyrupConnection) - Method in class org.syrup.sql.ExecutionFunctions
Starts the execution of a PTask by executing SQL statements over a Connection.
startDocument(String, SerializationHandler) - Method in class org.syrup.helpers.XMLOutput
Starts the serialization with a start tag.
startElement(String, String, String, Attributes) - Method in class org.syrup.helpers.NetworkParser
 
startPrefixMapping(String, String) - Method in class org.syrup.helpers.NetworkParser
 
stop(PTask) - Method in interface org.syrup.WorkSpace
Stop the possible non-progressing execution of a PTask.
stop(PTask, SyrupConnection) - Method in class org.syrup.sql.GenericFunctions
Stop non-progressing executions of a PTask.
stop(PTask) - Method in class org.syrup.sql.SQLWorkSpace
 
string_op(int) - Method in class org.syrup.sql.QueryOperation
Returns the SQL (string)qualifier based on the Template qualifier
syrupConnection() - Method in class org.syrup.sql.SQLWorkSpace
Return the SyrupConnection that is used to optimize SQL commands.

T

Task - interface org.syrup.Task.
Specifies a task with a name, description, function, environment, type and parameter.
TaskImpl - class org.syrup.helpers.TaskImpl.
A generic Task implementation.
TaskImpl(boolean, String, String, String, String, String) - Constructor for class org.syrup.helpers.TaskImpl
Constructor for the TaskImpl object
Template - interface org.syrup.Template.
A Template example object.
TemplateImpl - class org.syrup.helpers.TemplateImpl.
A generic PTaskTemplate implementation.
TemplateImpl(String[]) - Constructor for class org.syrup.helpers.TemplateImpl
Constructor for the TemplateImpl object
task() - Method in interface org.syrup.Context
The PTask this Context represents.
task() - Method in interface org.syrup.Port
Returns the associated Task.
task() - Method in class org.syrup.helpers.ContextImpl
 
task - Variable in class org.syrup.helpers.EndPoint
The PTask that identifies the EndPoint.
task() - Method in class org.syrup.helpers.InPortImpl
 
task() - Method in class org.syrup.helpers.OutPortImpl
 
taskAttributes(Task) - Method in class org.syrup.helpers.XMLOutput
Returns the mapped Attributes of a Task.
taskAttributes(PTask) - Method in class org.syrup.helpers.XMLOutput
Returns the mapped Attributes of a PTask.
tasks() - Method in interface org.syrup.Workflow
Returns all Tasks of this Workflow.
tasks() - Method in class org.syrup.helpers.NetworkImpl
 
tasks() - Method in class org.syrup.helpers.WorkflowImpl
 
templAtt - Variable in class org.syrup.sql.QueryOperation
The Template attribute.
templOp - Variable in class org.syrup.sql.QueryOperation
The Template qualifier.
time() - Method in interface org.syrup.LogEntry
 
time() - Method in class org.syrup.helpers.LogEntryImpl
 
time() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
time_match() - Method in interface org.syrup.LogEntryTemplate
Returns the qualifier used to match the time attribute.
time_match() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
to() - Method in interface org.syrup.Link
Returns the InPort of the Link.
to() - Method in class org.syrup.helpers.LinkImpl
 
toString() - Method in class org.syrup.helpers.InPortImpl
 
toString() - Method in class org.syrup.helpers.LinkImpl
 
toString() - Method in class org.syrup.helpers.LogEntryImpl
 
toString() - Method in class org.syrup.helpers.NetworkImpl
 
toString() - Method in class org.syrup.helpers.OutPortImpl
 
toString() - Method in class org.syrup.helpers.PTaskImpl
 
toString() - Method in class org.syrup.helpers.TaskImpl
 
to_boolean(String) - Static method in class org.syrup.helpers.TemplateImpl
Parses a String into a boolean.
to_date(String) - Static method in class org.syrup.helpers.TemplateImpl
 
to_number(String) - Static method in class org.syrup.helpers.TemplateImpl
Parses a String into a long.

U

UpdateFunctions - class org.syrup.sql.UpdateFunctions.
Utility functions to update Syrup Objects using JDBC.
UpdateFunctions(SQLImpl) - Constructor for class org.syrup.sql.UpdateFunctions
Constructor for the UpdateFunctions object
Utils - class org.syrup.helpers.Utils.
Utility functions to aid the testing of Syrup objects.
Utils() - Constructor for class org.syrup.helpers.Utils
 
updateDoneTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns update task set done = 1 where key_ = ?
updateExecutableTaskStatement() - Method in class org.syrup.sql.SQLStatements
Returns update task set executable = ?
updateFunctions() - Method in class org.syrup.sql.SQLImpl
Returns the instance of a UpdateFunctions implementation.
updateInLink(String, boolean, Data, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Updates the ingoing Link of an PTask with Data by executing SQL statements over a Connection.
updateInLinkStatement() - Method in class org.syrup.sql.SQLStatements
Returns update link set data=?
updateLink(String, String, boolean, Data, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Utility function that updates the Link of an PTask with Data by executing SQL statements over a Connection.
updateOutLink(String, boolean, Data, SyrupConnection) - Method in class org.syrup.sql.UpdateFunctions
Updates the outgoing Link of an PTask with Data by executing SQL statements over a SyrupConnection.
updateOutLinkStatement() - Method in class org.syrup.sql.SQLStatements
Returns update link set data=?
updateTaskModificationStatement() - Method in class org.syrup.sql.SQLStatements
Returns update task set worker = '', modifications = modifications + 1, modification_time = ?
updateWorkerStatement() - Method in class org.syrup.sql.SQLStatements
Returns update task set worker = ?
url() - Method in class org.syrup.helpers.ExecutionMonitor
Returns the URL based on the current Worker's inet address.

V

validate(Workflow) - Static method in class org.syrup.helpers.Utils
Validates the Workflow.
value - Variable in class org.syrup.sql.QueryOperation
The qualifier value.
values - Variable in class org.syrup.helpers.TemplateImpl
 

W

WorkSpace - interface org.syrup.WorkSpace.
Provides a client API to store and manage executions of PTasks.
Workflow - interface org.syrup.Workflow.
Defines a network of new Tasks and Links between them.
WorkflowImpl - class org.syrup.helpers.WorkflowImpl.
A generic Workflow implementation.
WorkflowImpl(ResultImpl, NetworkImpl) - Constructor for class org.syrup.helpers.WorkflowImpl
Constructor for the WorkflowImpl object
Writer - class org.syrup.helpers.Writer.
Active Thread to read data from an InputStream and write it to an OutputStream.
Writer(InputStream, OutputStream) - Constructor for class org.syrup.helpers.Writer
Constructor for the Writer object
worker() - Method in interface org.syrup.LogEntry
 
worker() - Method in interface org.syrup.PTask
Returns the Worker's address (URL) that is currently executing this PTask.
worker() - Method in class org.syrup.helpers.LogEntryImpl
 
worker() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
worker() - Method in class org.syrup.helpers.PTaskImpl
 
worker() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
worker_match() - Method in interface org.syrup.LogEntryTemplate
Returns the qualifier used to match the worker attribute.
worker_match() - Method in interface org.syrup.PTaskTemplate
Returns the qualifier used to match the worker attribute.
worker_match() - Method in class org.syrup.helpers.LogEntryTemplateImpl
 
worker_match() - Method in class org.syrup.helpers.PTaskTemplateImpl
 
wrap(OutputStream) - Method in class org.syrup.helpers.XMLOutput
Wraps an OutputStream with a SerializationHandler.
write(InputStream, OutputStream) - Method in class org.syrup.services.BlobClient
 
write(int) - Method in class org.syrup.test.NullOutputStream
 
writeConnection() - Method in class org.syrup.sql.SQLWorkSpace
Returns the read-write SyrupConnection that is used internally.

X

XMLOutput - class org.syrup.helpers.XMLOutput.
Helper class that enables the serialization of Syrup types.
XMLOutput() - Constructor for class org.syrup.helpers.XMLOutput
 

A B C D E F G H I K L M N O P Q R S T U V W X