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

A

AbstractCompoundTask - Class in com.massimo.tools.scriptrunner.control
An AbstractCompoundTask will run multiple component Tasks.
AbstractCompoundTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.control.AbstractCompoundTask
 
AbstractExecutionContext - Class in com.massimo.tools.scriptrunner.context
Abstract base class for ExecutionContext implementations.
AbstractExecutionContext() - Constructor for class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
Constructor
AbstractGenerator - Class in com.massimo.tools.scriptrunner.unused
Abstract parent class for Generators.
AbstractGenerator(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.unused.AbstractGenerator
 
AbstractTask - Class in com.massimo.tools.scriptrunner
Abstract implementation of the Task interface, handling much of the housekeeping.
AbstractTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.AbstractTask
Basic constructor, as used by TaskFactory.
addChild(Task) - Method in class com.massimo.tools.scriptrunner.control.AbstractCompoundTask
Any sub-class should call this as soon as it creates a child.
addError(Task, String) - Method in class com.massimo.tools.scriptrunner.context.ValidationContext
Record a validation error message
addInfo(Task, String) - Method in class com.massimo.tools.scriptrunner.context.ValidationContext
Record a validation information message
addJavaPath(String) - Static method in class com.massimo.utils.FileFinder
Add all directories in path to the Java file search paths
addNativePath(String) - Static method in class com.massimo.utils.FileFinder
Add all directories in path to the native file search paths
addPath(Collection<String>, String) - Static method in class com.massimo.utils.FileFinder
 
addTask(Task) - Method in class com.massimo.tools.scriptrunner.context.ValidationContext
Each Task must add itself during the Task.validate(ValidationContext) call.
addTextPath(String) - Static method in class com.massimo.utils.FileFinder
Add all directories in path to the text file search paths
ATTRIBUTE_BINDS - Static variable in class com.massimo.tools.scriptrunner.Constants
A comma-separated list of bind variables.
ATTRIBUTE_CLASS - Static variable in class com.massimo.tools.scriptrunner.Constants
The name of a class implementing Task.
ATTRIBUTE_CLASSPATH - Static variable in class com.massimo.tools.scriptrunner.Constants
Additions to the classpath for this Task
ATTRIBUTE_CONTAINER_TYPE - Static variable in class com.massimo.tools.scriptrunner.unused.AbstractGenerator
How to execute the generated tasks.
ATTRIBUTE_DATABASE_NAME - Static variable in class com.massimo.tools.scriptrunner.Constants
Standard JDBC3 configuration property.
ATTRIBUTE_DATASOURCE_CLASS - Static variable in class com.massimo.tools.scriptrunner.Constants
Class name of a javax.sql.DataSource implementation and preferably javax.sql.ConectionPoolDataSource
ATTRIBUTE_DATASOURCE_NAME - Static variable in class com.massimo.tools.scriptrunner.Constants
Unique name for the DataSource
ATTRIBUTE_DATASOURCE_TYPE - Static variable in class com.massimo.tools.scriptrunner.Constants
If provided, sets the DBMS type definitively for this connection.
ATTRIBUTE_DIRECTORY - Static variable in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
 
ATTRIBUTE_DURATION - Static variable in class com.massimo.tools.scriptrunner.Constants
How long to poll for, in seconds.
ATTRIBUTE_FILE - Static variable in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
 
ATTRIBUTE_IFNAME - Static variable in class com.massimo.tools.scriptrunner.Constants
The name of the property whose value will be to checked.
ATTRIBUTE_IFVALUE - Static variable in class com.massimo.tools.scriptrunner.Constants
A comma-separated list of values.
ATTRIBUTE_IGNORE_ERROR_CODES - Static variable in class com.massimo.tools.scriptrunner.Constants
A comma-separated list of error codes that can be ignored.
ATTRIBUTE_LOG_PROGRESS - Static variable in class com.massimo.tools.scriptrunner.Constants
If false, do not record task's audit trail.
ATTRIBUTE_NAME - Static variable in class com.massimo.tools.scriptrunner.Constants
A Task name
ATTRIBUTE_OUTPUT - Static variable in class com.massimo.tools.scriptrunner.Constants
XSL Task output file
ATTRIBUTE_PARAMETERS - Static variable in class com.massimo.tools.scriptrunner.Constants
A comma-separated list of string-substitution parameter names, in order.
ATTRIBUTE_PASSWORD - Static variable in class com.massimo.tools.scriptrunner.Constants
Standard JDBC3 configuration property.
ATTRIBUTE_POLL - Static variable in class com.massimo.tools.scriptrunner.Constants
How often to poll, in seconds.
ATTRIBUTE_PORT_NUMBER - Static variable in class com.massimo.tools.scriptrunner.Constants
Standard JDBC3 configuration property.
ATTRIBUTE_POSTCHECK - Static variable in class com.massimo.tools.scriptrunner.Constants
The name of a database function to be checked after the main SQL returns successfully.
ATTRIBUTE_PRECHECK - Static variable in class com.massimo.tools.scriptrunner.Constants
The name of a database function to be checked before the main SQL is executed.
ATTRIBUTE_SERVER_NAME - Static variable in class com.massimo.tools.scriptrunner.Constants
Standard JDBC3 configuration property.
ATTRIBUTE_SHOW_ERROR - Static variable in class com.massimo.tools.scriptrunner.Constants
If true, echo the process error stream to stderr.
ATTRIBUTE_SHOW_OUTPUT - Static variable in class com.massimo.tools.scriptrunner.Constants
If true, echo the process output stream to stdout.
ATTRIBUTE_SLEEP_RESULT - Static variable in class com.massimo.tools.scriptrunner.Constants
Sleep task result.
ATTRIBUTE_STATMENT_SPLIT - Static variable in class com.massimo.tools.scriptrunner.Constants
Java regular expression for identifying individual SQL statements
ATTRIBUTE_THREAD_COUNT - Static variable in class com.massimo.tools.scriptrunner.Constants
The number of threads to execute the child tasks in
ATTRIBUTE_TYPE - Static variable in class com.massimo.tools.scriptrunner.Constants
The Task type
ATTRIBUTE_USER - Static variable in class com.massimo.tools.scriptrunner.Constants
Standard JDBC3 configuration property.
ATTRIBUTE_XML - Static variable in class com.massimo.tools.scriptrunner.Constants
XSL Task input file
ATTRIBUTE_XSL - Static variable in class com.massimo.tools.scriptrunner.Constants
XSL Task transform file
auditConnection - Variable in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 

B

BIND_END_DELIMITERS - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
Punctuation that can make the end of a bind variable
bindNames - Variable in class com.massimo.tools.scriptrunner.work.SQLTask
 

C

CaseInsensitiveHashMap<V> - Class in com.massimo.utils
A HashMap that always does key.toString().toLowercase()
CaseInsensitiveHashMap(int, float) - Constructor for class com.massimo.utils.CaseInsensitiveHashMap
Constructs an empty CaseInsensitiveHashMap with the specified initial capacity and load factor.
CaseInsensitiveHashMap(int) - Constructor for class com.massimo.utils.CaseInsensitiveHashMap
Constructs an empty CaseInsensitiveHashMap with the specified initial capacity and the default load factor (0.75).
CaseInsensitiveHashMap() - Constructor for class com.massimo.utils.CaseInsensitiveHashMap
Constructs an empty CaseInsensitiveHashMap with the default initial capacity (16) and the default load factor (0.75).
CaseInsensitiveHashMap(Map<? extends String, ? extends V>) - Constructor for class com.massimo.utils.CaseInsensitiveHashMap
Constructs a new CaseInsensitiveHashMap with the same mappings as the specified Map.
classDump(PrintStream, Class) - Static method in class com.massimo.utils.DebugDump
 
classesDump(PrintStream) - Static method in class com.massimo.utils.DebugDump
Try to get the private field Vector classes from the ClassLoader.
clear() - Method in class com.massimo.utils.HierarchicalMap
Implement Map Removes all mappings from this node.
clearFieldCache() - Static method in class com.massimo.utils.ReflectionHelper
Clear the Fields cache.
clearMethodCache() - Static method in class com.massimo.utils.ReflectionHelper
Clear the Methods cache.
com.massimo.tools.scriptrunner - package com.massimo.tools.scriptrunner
The core package.
com.massimo.tools.scriptrunner.context - package com.massimo.tools.scriptrunner.context
The context classes are services used by Task objects.
com.massimo.tools.scriptrunner.control - package com.massimo.tools.scriptrunner.control
This package provides the glue Tasks to wrap around work Tasks.
com.massimo.tools.scriptrunner.unused - package com.massimo.tools.scriptrunner.unused
The classes in this package are currently not used and should never be seen.
com.massimo.tools.scriptrunner.utils - package com.massimo.tools.scriptrunner.utils
ScriptRunner utility classes.
com.massimo.tools.scriptrunner.work - package com.massimo.tools.scriptrunner.work
This package provides the main work Tasks, especially SQL and Process.
com.massimo.tools.scriptrunner.work.monitor - package com.massimo.tools.scriptrunner.work.monitor
Tasks to help monitor or debug ScriptRunner execution.
com.massimo.utils - package com.massimo.utils
General utility classes.
connection - Variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
ConnectionFactory - Class in com.massimo.tools.scriptrunner.utils
Loads and configures DataSource instances, and uses them to get Connection objects.
Constants - Class in com.massimo.tools.scriptrunner
Well-known Strings.
containsKey(Object) - Method in class com.massimo.utils.CaseInsensitiveHashMap
Override HashMap
containsKey(Object) - Method in class com.massimo.utils.HierarchicalMap
Implement Map
containsValue(Object) - Method in class com.massimo.utils.HierarchicalMap
Implement Map
copyAttributes(Element, Element) - Static method in class com.massimo.utils.XMLHelper
Copy all source Attributes to target
COPYRIGHT - Static variable in class com.massimo.tools.scriptrunner.Main
 
createObject(String) - Static method in class com.massimo.utils.ReflectionHelper
Create an object of the supplied classname.
createParameter(Object, String, Object) - Static method in class com.massimo.utils.ReflectionHelper
Find the type of and create a parameter for attribute name's set method Introspect the target to get the parameter type
createTask(Task, Element, Map<String, String>) - Static method in class com.massimo.tools.scriptrunner.TaskFactory
 
createType(Class, Object) - Static method in class com.massimo.utils.ReflectionHelper
Utility method to create primitive types
createType(String, String, Object) - Static method in class com.massimo.utils.ReflectionHelper
Create an object using the supplied factory class and method

D

DATA_ERROR - Static variable in interface com.massimo.tools.scriptrunner.Task
A data error has halted Task processing
DatabaseType - Enum in com.massimo.tools.scriptrunner.utils
Simple type for DBMSs
DATASOURCE_AUDIT - Static variable in class com.massimo.tools.scriptrunner.Constants
The name of the DataSource used by the ExecutionContext
DATASOURCE_DEFAULT - Static variable in class com.massimo.tools.scriptrunner.Constants
The default dataSourceName when looking for a Connection
dataSources - Static variable in class com.massimo.tools.scriptrunner.utils.ConnectionFactory
Map of connection names to DataSources
DataSourcesTask - Class in com.massimo.tools.scriptrunner.work.monitor
Dump information on existing DataSources
DataSourcesTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.monitor.DataSourcesTask
 
DBHelper - Class in com.massimo.tools.scriptrunner.utils
Simple database utilities.
DBHelper() - Constructor for class com.massimo.tools.scriptrunner.utils.DBHelper
 
dbType - Variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
DebugDump - Class in com.massimo.utils
Dump useful information about the JVM: threads, classes, JVM memory, properties
DEFAULT_DURATION - Static variable in class com.massimo.tools.scriptrunner.control.PollTask
 
DEFAULT_POLL - Static variable in class com.massimo.tools.scriptrunner.control.PollTask
 
definition - Variable in class com.massimo.tools.scriptrunner.AbstractTask
The task defining XML
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.control.AbstractCompoundTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.unused.AbstractGenerator
 
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.unused.TemplateTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.monitor.DataSourcesTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.monitor.PropertiesTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.monitor.ThreadsTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.PauseTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.PrintTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.ProcessTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.SleepTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.SQLGeneratorTask
 
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.ThreadedSQLTask
Implementing classes only need to do their own work and log progress when appropriate.
doProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.XSLTask
Implementing classes only need to do their own work and log progress when appropriate.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.control.AbstractCompoundTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.control.IfTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.control.PollTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
Implement Task Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.unused.TemplateTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.monitor.DataSourcesTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.monitor.PropertiesTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.monitor.ThreadsTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.PauseTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.PrintTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.ProcessTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.SleepTask
Implement Task Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.SQLGeneratorTask
Implement Task Check that template is well-formed, and that input is valid SQL.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.ThreadedSQLTask
Check whether this task should be able to run.
doValidate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.XSLTask
Check whether this task should be able to run.
dump(PrintStream) - Static method in class com.massimo.tools.scriptrunner.utils.ConnectionFactory
Dump some hopefully useful information.
dump() - Static method in class com.massimo.utils.FileFinder
Debug aid

E

ELEMENT_CONNECTION - Static variable in class com.massimo.tools.scriptrunner.Constants
DataSource name and configuration, to be used by the parent task and its children.
ELEMENT_CONNECTIONS - Static variable in class com.massimo.tools.scriptrunner.Constants
List of connection elements
ELEMENT_INPUT - Static variable in class com.massimo.tools.scriptrunner.Constants
The text is input for the process.
ELEMENT_PROPERTIES - Static variable in class com.massimo.tools.scriptrunner.Constants
List of property elements
ELEMENT_PROPERTY - Static variable in class com.massimo.tools.scriptrunner.Constants
Name-value pair
ELEMENT_TASK - Static variable in class com.massimo.tools.scriptrunner.Constants
 
ELEMENT_TEMPLATE - Static variable in class com.massimo.tools.scriptrunner.Constants
Template for generated task elements
entrySet() - Method in class com.massimo.utils.HierarchicalMap
Implement Map
equals(Object) - Method in class com.massimo.utils.HierarchicalMap
Implement Map
ERROR - Static variable in interface com.massimo.tools.scriptrunner.Task
An error has halted Task processing
executeIntFunction(Connection, String, Object[]) - Static method in class com.massimo.tools.scriptrunner.utils.DBHelper
 
executeIntQuery(Connection, String, Object[]) - Static method in class com.massimo.tools.scriptrunner.utils.DBHelper
 
executeSQL(ExecutionContext, String) - Method in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
executeSQL(ExecutionContext, String) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
 
ExecutionContext - Interface in com.massimo.tools.scriptrunner.context
Task implementations use the ExecutionContext to: find or create the run identifier; create an audit trail of task progress, including saving the last thrown exception; and log informative messages
extractAttributes(Map<String, String>, Element) - Static method in class com.massimo.utils.XMLHelper
Add all element's attributes to map
extractAttributes(Properties, Element) - Static method in class com.massimo.utils.XMLHelper
Add all element's attributes to properties
extractProperties(Map<String, String>, Element, String) - Static method in class com.massimo.utils.XMLHelper
Add all child properties to map
extractProperties(Properties, Element, String) - Static method in class com.massimo.utils.XMLHelper
Add all child properties to properties

F

FileAccessException - Exception in com.massimo.utils
Thrown when unable to create, read from or write to a file.
FileAccessException() - Constructor for exception com.massimo.utils.FileAccessException
 
FileAccessException(String) - Constructor for exception com.massimo.utils.FileAccessException
 
FileAccessException(Throwable) - Constructor for exception com.massimo.utils.FileAccessException
 
FileAccessException(String, Throwable) - Constructor for exception com.massimo.utils.FileAccessException
 
FileExecutionContext - Class in com.massimo.tools.scriptrunner.context
Implement ExecutionContext in flat files, housed in a directory sruns.
FileExecutionContext(Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.context.FileExecutionContext
Get parent directory from properties or assume user directory.
FileFinder - Class in com.massimo.utils
Use known paths, such as the classpath and the environment's PATHs, to find files
FileFinder() - Constructor for class com.massimo.utils.FileFinder
 
FileRestartList - Class in com.massimo.tools.scriptrunner.context
Read a FileExecutionContext restart file and list contents.
FileUtils - Class in com.massimo.tools.scriptrunner.utils
Some simple file utilities.
FileUtils() - Constructor for class com.massimo.tools.scriptrunner.utils.FileUtils
 
finalize() - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
 
finalize() - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext

Attempt to close the database conenction.
finalize() - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext

Attempt to close the database conenction.
finalize() - Method in class com.massimo.tools.scriptrunner.work.SQLTask

Attempts to close the database connection.
findConnectionElement(String, Element) - Static method in class com.massimo.tools.scriptrunner.utils.ConnectionFactory

Look for the connection definition with matching dataSourceName.
findField(Class, String) - Static method in class com.massimo.utils.ReflectionHelper
Find a field in clazz called fieldName that satisfies the given modifiers.
findFile(String) - Static method in class com.massimo.utils.FileFinder
Search all known paths
findFile(Collection<String>, String) - Static method in class com.massimo.utils.FileFinder
 
findJavaFile(String) - Static method in class com.massimo.utils.FileFinder
Search the java class paths
findMethod(Class, String, int) - Static method in class com.massimo.utils.ReflectionHelper
Find a method in clazz called methodName that satisfies the given modifiers.
findNativeFile(String) - Static method in class com.massimo.utils.FileFinder
Search the native library locations
findRootThreadGroup() - Static method in class com.massimo.utils.DebugDump
 
findSetterMethod(Object, String) - Static method in class com.massimo.utils.ReflectionHelper
Find a public setter method on a target
findTextFile(String) - Static method in class com.massimo.utils.FileFinder
Search text or property file locations.
finished(String, int) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Audit trail: record successful finish of Task execution
finished(String, int) - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
Audit trail: record successful finish of Task execution
finished(String, int) - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
Audit trail: record successful finish of Task execution
finished(String, int) - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
Audit trail: record successful finish of Task execution
FINISHED - Static variable in interface com.massimo.tools.scriptrunner.Task
Task has finished processing

G

generateBodies(ExecutionContext, String) - Method in class com.massimo.tools.scriptrunner.work.SQLGeneratorTask
 
generateRunIdentifier(Map<String, String>) - Method in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
 
generateRunIdentifier(Map<String, String>) - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
The run identifier is saved in a file as a String.
generateRunIdentifier(Map<String, String>) - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext

The run identifier is generated by a database sequence.
generateRunIdentifier(Map<String, String>) - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext

The run identifier is generated by a database sequence.
generateTasks(String[], Element) - Method in class com.massimo.tools.scriptrunner.work.SQLGeneratorTask
 
get(Object) - Method in class com.massimo.utils.CaseInsensitiveHashMap
Override HashMap
get(Object) - Method in class com.massimo.utils.HierarchicalMap
Implement Map
getBindNames() - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Read the binds attribute and return variable names in a String array.
getBindValues(List<String>) - Method in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
The bind variables are the database directory and the name of the file to check for.
getBindValues(List<String>) - Method in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
This is closely related to SQLTask.setBinds(java.sql.PreparedStatement, List).
getBooleanProperty(String, boolean) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Convenience method
getChildren() - Method in class com.massimo.tools.scriptrunner.control.AbstractCompoundTask
Provides access to the list of child to sub-classes
getConnection(String, Element) - Static method in class com.massimo.tools.scriptrunner.utils.ConnectionFactory
Get a connection from the named data source.
getCurrentWorkingDirectory() - Method in class com.massimo.tools.scriptrunner.AbstractTask
Used for bind or parameter substitution.
getDatabaseType(String, Element) - Static method in class com.massimo.tools.scriptrunner.utils.ConnectionFactory
Make a guess at the DBMS from the same information the DataSource is created from.
getDatabaseType(String) - Static method in enum com.massimo.tools.scriptrunner.utils.DatabaseType
 
getDatabaseType(Connection) - Static method in class com.massimo.tools.scriptrunner.utils.DBHelper
 
getDatabaseType(String) - Static method in class com.massimo.tools.scriptrunner.utils.DBHelper
 
getDefinition() - Method in class com.massimo.tools.scriptrunner.AbstractTask
getDefinition() - Method in interface com.massimo.tools.scriptrunner.Task
 
getExecutionContext() - Method in class com.massimo.tools.scriptrunner.ScriptRunner
A factory method for the ExecutionContext.
getIntProperty(String, int) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Convenience method
getLastException() - Method in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
Exception that caused Task failure
getLastException() - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Exception that caused Task failure
getLocal(Object) - Method in class com.massimo.utils.HierarchicalMap
As for Map.get(Object) but only look at the current leaf node.
getLogger() - Method in class com.massimo.tools.scriptrunner.AbstractTask
 
getLogger() - Method in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
 
getLogger() - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
getLogger() - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
getLogger() - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
getLogger() - Method in class com.massimo.tools.scriptrunner.control.IfTask
getLogger() - Method in class com.massimo.tools.scriptrunner.control.OptionalTask
getLogger() - Method in class com.massimo.tools.scriptrunner.control.ParallelTask
getLogger() - Method in class com.massimo.tools.scriptrunner.control.PollTask
getLogger() - Method in class com.massimo.tools.scriptrunner.control.SerialTask
getLogger() - Method in class com.massimo.tools.scriptrunner.control.SpawnTask
getLogger() - Method in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
 
getLogger() - Method in class com.massimo.tools.scriptrunner.unused.TemplateTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.monitor.DataSourcesTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.monitor.PropertiesTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.monitor.ThreadsTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.PauseTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.PrintTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.ProcessTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.SleepTask
 
getLogger() - Method in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.SQLGeneratorTask
 
getLogger() - Method in class com.massimo.tools.scriptrunner.work.SQLTask
getLogger() - Method in class com.massimo.tools.scriptrunner.work.XSLTask
getName() - Method in class com.massimo.tools.scriptrunner.AbstractTask
getName() - Method in class com.massimo.tools.scriptrunner.control.TaskRunner
 
getName() - Method in interface com.massimo.tools.scriptrunner.Task
 
getName() - Method in class com.massimo.utils.HierarchicalMap
 
getNonValidatingBuilder() - Static method in class com.massimo.utils.XMLHelper
 
getParent() - Method in class com.massimo.tools.scriptrunner.AbstractTask
getParent() - Method in interface com.massimo.tools.scriptrunner.Task
 
getParent() - Method in class com.massimo.utils.HierarchicalMap
 
getProperties() - Method in class com.massimo.tools.scriptrunner.AbstractTask
getProperties() - Method in interface com.massimo.tools.scriptrunner.Task
 
getResult() - Method in class com.massimo.tools.scriptrunner.control.TaskRunner
 
getRootElement(Element) - Static method in class com.massimo.utils.XMLHelper
Utility method to find the root element for a given element
getRunIdentifier(Map<String, String>) - Method in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext

If the runId is not set, look for a run identifier in properties.
getRunIdentifier(Map<String, String>) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Find or create the run identifier.
getRunIdentifier(Map<String, String>) - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext

If the runId is not set, look for a run identifier in properties.
getScriptResult() - Method in class com.massimo.tools.scriptrunner.ScriptRunner
 
getSQLSplitPattern() - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Checks attribute statement-split, before looking at the DBMS connection.
getSQLText() - Method in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
Hard-coded SQL statement.
getSQLText() - Method in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
getSQLText() - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Sub-classes may override this if the SQL is not simply the XML text.
getSQLWarning(SQLWarning) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Walk down the chain of warnings, adding each to the return value.
getStartProcessingRow() - Method in class com.massimo.tools.scriptrunner.AbstractTask
The field returned, startProcessingRow, is set by AbstractTask.process(ExecutionContext) is log-progress is true.
getText() - Method in class com.massimo.tools.scriptrunner.AbstractTask
The XOM Node.getValue() method returns the XPath 1.0 string-value of Node.
getText(Node) - Static method in class com.massimo.utils.XMLHelper
The XOM Node.getValue() method returns the XPath 1.0 string-value of Node.
getType() - Method in class com.massimo.tools.scriptrunner.AbstractTask
getType() - Method in interface com.massimo.tools.scriptrunner.Task
 
getValidatingBuilder() - Static method in class com.massimo.utils.XMLHelper
Delegates to getValidatingBuilder(String, String) without setting noNamespaceSchemaLocation or externalLocation.
getValidatingBuilder(String) - Static method in class com.massimo.utils.XMLHelper
Delegates to getValidatingBuilder(String, String)
getValidatingBuilder(String, String) - Static method in class com.massimo.utils.XMLHelper
Unfortunately, the Xerces parser does not honour both noNamespaceSchemaLocation and externalLocation.
getValidatingBuilderNoNamespace(String) - Static method in class com.massimo.utils.XMLHelper
Delegates to getValidatingBuilder(String, String)

H

handleSQLException(String, SQLException, String) - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
handleSQLException(String, SQLException, String) - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
hashCode() - Method in class com.massimo.utils.HierarchicalMap
Override Object This implementation iterates over entrySet(), calling hashCode on each element (entry) in the Collection, and adding up the results.
HierarchicalMap<V> - Class in com.massimo.utils
A simple heirachical Map implementation.
HierarchicalMap(String, boolean, int, Map<String, V>) - Constructor for class com.massimo.utils.HierarchicalMap
 
HierarchicalMap(String, int, Map<String, V>) - Constructor for class com.massimo.utils.HierarchicalMap
 
HierarchicalMap(String, boolean, Map<String, V>) - Constructor for class com.massimo.utils.HierarchicalMap
 
HierarchicalMap(String, Map<String, V>) - Constructor for class com.massimo.utils.HierarchicalMap
 
HierarchicalMap(int, Map<String, V>) - Constructor for class com.massimo.utils.HierarchicalMap
 
HierarchicalMap(Map<String, V>) - Constructor for class com.massimo.utils.HierarchicalMap
 

I

IfTask - Class in com.massimo.tools.scriptrunner.control
Conditional execution of a single child task.
IfTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.control.IfTask
 
InputHelper - Class in com.massimo.utils
Helper class for user input.
interrupt() - Method in class com.massimo.tools.scriptrunner.AbstractTask
Tells the Task to stop processing.
interrupt() - Method in class com.massimo.tools.scriptrunner.control.AbstractCompoundTask
Tells the Task to stop processing.
interrupt() - Method in class com.massimo.tools.scriptrunner.control.PollTask
Tells the Task to stop processing.
interrupt() - Method in class com.massimo.tools.scriptrunner.control.TaskRunner
Attempt to interrupt the task and also its working thread.
interrupt() - Method in interface com.massimo.tools.scriptrunner.Task
Tells the Task to stop processing.
interrupt() - Method in class com.massimo.tools.scriptrunner.work.PauseTask
Tells the Task to stop processing.
interrupt() - Method in class com.massimo.tools.scriptrunner.work.ProcessTask
Tells the Task to stop processing.
interrupt() - Method in class com.massimo.tools.scriptrunner.work.SleepTask
 
interrupt() - Static method in class com.massimo.utils.InputHelper
Attempt to close System.in, in case waiting for input.
INTERRUPTED - Static variable in interface com.massimo.tools.scriptrunner.Task
Task was been interrupted
isEmpty() - Method in class com.massimo.utils.HierarchicalMap
Implement Map
isEmpty(String) - Static method in class com.massimo.utils.StringHelper
 
isFinished(String) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Audit trail: check whether Task has already been executed in this run
isFinished(String) - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
Audit trail: check whether Task has already been executed in this run
isFinished(String) - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
Audit trail: check whether Task has already been executed in this run
isFinished(String) - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
Audit trail: check whether Task has already been executed in this run
isIgnoreableError(int) - Method in class com.massimo.tools.scriptrunner.AbstractTask
 
isIgnoreableError(String) - Method in class com.massimo.tools.scriptrunner.AbstractTask
 
isInterrupted() - Method in class com.massimo.tools.scriptrunner.AbstractTask
 
isLogProgress() - Method in class com.massimo.tools.scriptrunner.AbstractTask
 
isRunning() - Method in class com.massimo.tools.scriptrunner.control.TaskRunner
 

J

jvmStateDump(PrintStream) - Static method in class com.massimo.utils.DebugDump
 

K

keySet() - Method in class com.massimo.utils.HierarchicalMap
Implement Map

L

lastException - Variable in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
The last exception, as saved by a Task
loadJavaPaths() - Static method in class com.massimo.utils.FileFinder
Load java search paths.
loadNativePaths() - Static method in class com.massimo.utils.FileFinder
Load native search paths.
loadTextPaths() - Static method in class com.massimo.utils.FileFinder
Load text search paths.
LOCATION_DOCUMENTER_XSL - Static variable in class com.massimo.tools.scriptrunner.Constants
ScriptRunner documenter XSL location
LOCATION_XML_SCHEMA - Static variable in class com.massimo.tools.scriptrunner.Constants
ScriptRunner XML schema location
log(String, int, String) - Method in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
Log informational messages
log(String, int, String) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Log informational messages
log(String, int, String, int, String) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Log informational messages
log(String, int, String, int, String) - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
Log informational messages
log(String, int, String, int, String) - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
Log informational messages
log(String, int, String, int, String) - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
Log informational messages
log - Static variable in class com.massimo.utils.FileFinder
 
logMessage(Task, String) - Method in class com.massimo.tools.scriptrunner.context.ValidationContext
Record and log a message

M

main(String[]) - Static method in class com.massimo.tools.scriptrunner.context.FileRestartList
 
Main - Class in com.massimo.tools.scriptrunner
Command line initiation of ScriptRunner
main(String[]) - Static method in class com.massimo.tools.scriptrunner.Main
 

N

name - Variable in class com.massimo.tools.scriptrunner.AbstractTask
The Task's unique name
name - Variable in class com.massimo.utils.HierarchicalMap
An optional instance name
node - Variable in class com.massimo.utils.HierarchicalMap
A Map for this level of the context heirachy

O

OptionalTask - Class in com.massimo.tools.scriptrunner.control
Optional execution of contained task.
OptionalTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.control.OptionalTask
 
OracleExecutionContext - Class in com.massimo.tools.scriptrunner.context
This is backed by Oracle database tables and other database objects.
OracleExecutionContext(Element) - Constructor for class com.massimo.tools.scriptrunner.context.OracleExecutionContext
Creates the database connection.
OracleFileCheckTask - Class in com.massimo.tools.scriptrunner.unused
Oracle specific task to check for the presence of a file.
OracleFileCheckTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
 

P

ParallelTask - Class in com.massimo.tools.scriptrunner.control
This will run all child Tasks in separate Threads.
ParallelTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.control.ParallelTask
 
parent - Variable in class com.massimo.tools.scriptrunner.AbstractTask
The parent of this.
parent - Variable in class com.massimo.utils.HierarchicalMap
The parent level of the context heirachy.
parseTextIntoStatements(String) - Method in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
parseTextIntoStatements(String) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Break the text up into individaul statments.
PAUSE_PROMPT - Static variable in class com.massimo.tools.scriptrunner.work.PauseTask
 
PauseTask - Class in com.massimo.tools.scriptrunner.work
Prompt and wait for any input.
PauseTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.PauseTask
 
PollTask - Class in com.massimo.tools.scriptrunner.control
Poll the single child task until it finishes successfully or a time limit is reached.
PollTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.control.PollTask
 
populateAttributes(Map<String, String>, Element) - Static method in class com.massimo.utils.XMLHelper
Set attributes for an element
postCheck(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Execute the configured pre-execution check function The default is run_progress.postcheck(:run_id, :module).
PostgresExecutionContext - Class in com.massimo.tools.scriptrunner.context
This is backed by Postgres database tables and schema.
PostgresExecutionContext(Element) - Constructor for class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
postProcess(ExecutionContext, int) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Run after doProcess() and result has been checked.
preCheck() - Method in class com.massimo.tools.scriptrunner.work.SQLTask
A precheck can be done to see if the task should be executed.
preProcess(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Run immendiately before doProcess() Default implementation: do nothing
PrintTask - Class in com.massimo.tools.scriptrunner.work
Print to stdout, with parameter substitution
PrintTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.PrintTask
 
process(ExecutionContext) - Method in class com.massimo.tools.scriptrunner.AbstractTask
The central work method.
process(ExecutionContext) - Method in interface com.massimo.tools.scriptrunner.Task
The central work method.
processCompound(ExecutionContext, Elements) - Method in class com.massimo.tools.scriptrunner.control.AbstractCompoundTask
Process any and all child tasks.
processCompound(ExecutionContext, Elements) - Method in class com.massimo.tools.scriptrunner.control.IfTask
Checks the attributes Constants.ATTRIBUTE_IFNAME and Constants.ATTRIBUTE_IFVALUE to determine whether to run the child task.
processCompound(ExecutionContext, Elements) - Method in class com.massimo.tools.scriptrunner.control.OptionalTask
Process any and all child tasks.
processCompound(ExecutionContext, Elements) - Method in class com.massimo.tools.scriptrunner.control.ParallelTask
Executes all child Tasks in separate threads.
processCompound(ExecutionContext, Elements) - Method in class com.massimo.tools.scriptrunner.control.PollTask
Polls the child Task every Constants.ATTRIBUTE_POLL seconds for up to Constants.ATTRIBUTE_DURATION seconds.
processCompound(ExecutionContext, Elements) - Method in class com.massimo.tools.scriptrunner.control.SerialTask
Execute all child Tasks in series, failing immediately if any fails.
processCompound(ExecutionContext, Elements) - Method in class com.massimo.tools.scriptrunner.control.SpawnTask
Process any and all child tasks.
ProcessTask - Class in com.massimo.tools.scriptrunner.work
Execute the script text using Runtime.exec()
Introduces boolean attributes Constants.ATTRIBUTE_SHOW_OUTPUT, Constants.ATTRIBUTE_SHOW_ERROR.
ProcessTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.ProcessTask
 
progress(String, int, String) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Audit trail: Task has finished executing its lastStepProcessed step
progress(String, int, String) - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
Audit trail: Task has finished executing its lastStepProcessed step
progress(String, int, String) - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
Audit trail: Task has finished executing its lastStepProcessed step
progress(String, int, String) - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
Audit trail: Task has finished executing its lastStepProcessed step
PROMPT - Static variable in interface com.massimo.tools.scriptrunner.Task
Task is prompting, waiting for input
properties - Variable in class com.massimo.tools.scriptrunner.AbstractTask
Populated with both task element and child connection attributes
PropertiesTask - Class in com.massimo.tools.scriptrunner.work.monitor
Dump information on properties, Task and system.
PropertiesTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.monitor.PropertiesTask
 
PROPERTY_ALL_SERIAL - Static variable in class com.massimo.tools.scriptrunner.Constants
Change Parallel to run in Serial.
PROPERTY_CONNECTIONS - Static variable in class com.massimo.tools.scriptrunner.Constants
Command line connections file
PROPERTY_CWD - Static variable in class com.massimo.tools.scriptrunner.Constants
The working directory, or base URI, of the current task's defining XML
PROPERTY_FILE_DIR - Static variable in class com.massimo.tools.scriptrunner.Constants
Define to set parent of FileExecutionContext's save directory.
PROPERTY_RUN_IDENTIFIER - Static variable in class com.massimo.tools.scriptrunner.Constants
The current run identifier
PROPERTY_TASK_NAME - Static variable in class com.massimo.tools.scriptrunner.Constants
The current task name
put(String, V) - Method in class com.massimo.utils.CaseInsensitiveHashMap
Override HashMap
put(String, V) - Method in class com.massimo.utils.HierarchicalMap
Implement Map
putAll(Map<? extends String, ? extends V>) - Method in class com.massimo.utils.HierarchicalMap
Implement Map

R

READ_BUFFER_SIZE - Static variable in class com.massimo.tools.scriptrunner.utils.FileUtils
 
readBooleanAttribute(Element, String) - Static method in class com.massimo.utils.XMLHelper
Helper method to read named attribute from specified element and convert it to boolean.
readBooleanAttribute(Element, String, boolean) - Static method in class com.massimo.utils.XMLHelper
Helper method to read named attribute from specified element and convert it to boolean.
readFile(File) - Static method in class com.massimo.tools.scriptrunner.utils.FileUtils
 
readFile(InputStream) - Static method in class com.massimo.tools.scriptrunner.utils.FileUtils
 
readInput(String) - Static method in class com.massimo.utils.InputHelper
Prompt and wait indefinitely for input.
readIntAttribute(Element, String, int) - Static method in class com.massimo.utils.XMLHelper
 
readXML(String) - Static method in class com.massimo.utils.XMLHelper
 
ReflectionHelper - Class in com.massimo.utils
Helper for using reflection
refreshConnection() - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
refreshConnection() - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
remove(Object) - Method in class com.massimo.utils.CaseInsensitiveHashMap
Override HashMap
remove(Object) - Method in class com.massimo.utils.HierarchicalMap
Implement Map
report() - Method in class com.massimo.tools.scriptrunner.context.ValidationContext
Generate a report based on all Tasks added and messages recorded.
resetPaths() - Static method in class com.massimo.utils.FileFinder
Reset all paths to their default values.
resolvePath(String, String) - Static method in class com.massimo.tools.scriptrunner.utils.FileUtils
 
resultCodeToString(int) - Static method in class com.massimo.tools.scriptrunner.AbstractTask
 
run() - Method in class com.massimo.tools.scriptrunner.control.TaskRunner
Save the working thread; and run the Task.
run() - Method in class com.massimo.tools.scriptrunner.ScriptRunner
Implement Runnable Creates the ExecutionContext and ensures that the run identifier is set.
run_id - Variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
runId - Variable in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
The current run identifier
RUNNING - Static variable in interface com.massimo.tools.scriptrunner.Task
Task is processing

S

ScriptRunner - Class in com.massimo.tools.scriptrunner
Run tasks as specified in an XML file.
ScriptRunner(String, Map<String, String>, boolean) - Constructor for class com.massimo.tools.scriptrunner.ScriptRunner
An XML Document is built from the file and the root Task is created by the TaskFactory.
ScriptRunner(Task) - Constructor for class com.massimo.tools.scriptrunner.ScriptRunner
Simple constructor.
SerialTask - Class in com.massimo.tools.scriptrunner.control
SerialTask will run all child Tasks in series.
SerialTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.control.SerialTask
 
setAttr(Object, String, Object, int) - Static method in class com.massimo.utils.ReflectionHelper
Use refection to set an attribute.
setAttr(Object, Object, String) - Static method in class com.massimo.utils.ReflectionHelper
Use reflection to set an attribute to a value on the target object.
setAttr(Object, Object, String, int) - Static method in class com.massimo.utils.ReflectionHelper
Use reflection to set an attribute to a value on the target object.
setBinds(PreparedStatement, List<String>) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Bind the variables to the statement.
setLastException(Exception) - Method in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
Exception that caused Task failure
setLastException(Exception) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Exception that caused Task failure
size() - Method in class com.massimo.utils.HierarchicalMap
Implement Map
SleepTask - Class in com.massimo.tools.scriptrunner.work
Sleeping is inactive work.
SleepTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.SleepTask
 
SpawnTask - Class in com.massimo.tools.scriptrunner.control
A Task to spawn a Thread in which to process the single child Task.
SpawnTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.control.SpawnTask
 
SQL_CHECK_PREFIX_ORACLE - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
SQL_CHECK_PREFIX_POSTGRES - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
SQL_CHECK_SUFFIX_ORACLE - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
SQL_CHECK_SUFFIX_POSTGRES - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
SQL_FILE_EXISTS - Static variable in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
 
SQL_FN_PREFIX_ORACLE - Static variable in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
SQL_FN_PREFIX_POSTGRES - Static variable in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
SQL_FN_SUFFIX_ORACLE - Static variable in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
SQL_FN_SUFFIX_POSTGRES - Static variable in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
SQL_IS_FINISHED - Static variable in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
SQL_IS_FINISHED - Static variable in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
SQL_LOG_INSERT - Static variable in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
SQL_LOG_INSERT - Static variable in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
SQL_NEXT_RUN_ID - Static variable in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
SQL_NEXT_RUN_ID - Static variable in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
SQL_NON_COMMENT_PATTERN - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
 
SQL_STMT_PATTERN_ORACLE - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
Oracle uses /
SQL_STMT_PATTERN_POSTGRES - Static variable in class com.massimo.tools.scriptrunner.work.SQLTask
Postgres uses \g
SQL_TASK_FINISHED - Static variable in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
SQL_TASK_FINISHED - Static variable in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
SQL_TASK_PROGRESS - Static variable in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
SQL_TASK_PROGRESS - Static variable in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
SQL_TASK_START - Static variable in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
 
SQL_TASK_START - Static variable in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
 
SQLFunctionTask - Class in com.massimo.tools.scriptrunner.work
Execute a SQL function.
SQLFunctionTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
SQLGeneratorTask - Class in com.massimo.tools.scriptrunner.work
TODO complete design and coding This task runs a SQL statement to generate new tasks.
SQLGeneratorTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.SQLGeneratorTask
 
SQLTask - Class in com.massimo.tools.scriptrunner.work
Task to handle SQL or procedural SQL from the definition text.
SQLTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.SQLTask
 
SRException - Exception in com.massimo.tools.scriptrunner
Simple wrapper for checked exceptions.
SRException() - Constructor for exception com.massimo.tools.scriptrunner.SRException
ScriptRunner exception
SRException(String) - Constructor for exception com.massimo.tools.scriptrunner.SRException
 
SRException(Throwable) - Constructor for exception com.massimo.tools.scriptrunner.SRException
 
SRException(String, Throwable) - Constructor for exception com.massimo.tools.scriptrunner.SRException
 
start(String) - Method in interface com.massimo.tools.scriptrunner.context.ExecutionContext
Audit trail: start Task execution
start(String) - Method in class com.massimo.tools.scriptrunner.context.FileExecutionContext
Audit trail: start Task execution
start(String) - Method in class com.massimo.tools.scriptrunner.context.OracleExecutionContext
Audit trail: start Task execution
start(String) - Method in class com.massimo.tools.scriptrunner.context.PostgresExecutionContext
Audit trail: start Task execution
START - Static variable in interface com.massimo.tools.scriptrunner.Task
Task has started processing
stopProcessing() - Method in class com.massimo.tools.scriptrunner.ScriptRunner
Attempt to interrupt the root task
StringHelper - Class in com.massimo.utils
String handling utilities
StringHelper() - Constructor for class com.massimo.utils.StringHelper
 
substitiuteBinds(String, List<String>) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Parses the statement looking for known bind variables.
substituteParameters(String) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Uses MessageFormat to substitute parameter values into text based on position.
SUCCESS - Static variable in interface com.massimo.tools.scriptrunner.Task
Task has finished processing successfully
systemPropertiesDump(PrintStream) - Static method in class com.massimo.utils.DebugDump
 

T

Task - Interface in com.massimo.tools.scriptrunner
An interface for generic tasks.
TaskFactory - Class in com.massimo.tools.scriptrunner
Factory class for Tasks, based on the type or class attributes.
TaskRunner - Class in com.massimo.tools.scriptrunner.control
Simple class to help manage multi-threaded tasks.
TaskRunner(Task, ExecutionContext) - Constructor for class com.massimo.tools.scriptrunner.control.TaskRunner
 
TemplateTask - Class in com.massimo.tools.scriptrunner.unused
This file is a simple template to use when extending AbstractTask.
TemplateTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.unused.TemplateTask
 
threadDump(PrintStream, Thread, String) - Static method in class com.massimo.utils.DebugDump
 
ThreadedSQLTask - Class in com.massimo.tools.scriptrunner.work
Execute SQL statements in a number of threads.
ThreadedSQLTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.ThreadedSQLTask
 
threadGroupDump(PrintStream, ThreadGroup, String) - Static method in class com.massimo.utils.DebugDump
 
threads - Variable in class com.massimo.tools.scriptrunner.work.ThreadedSQLTask
 
ThreadsTask - Class in com.massimo.tools.scriptrunner.work.monitor
Dump information on Threads
ThreadsTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.monitor.ThreadsTask
 
threadStateDump(PrintStream) - Static method in class com.massimo.utils.DebugDump
 
toString() - Method in class com.massimo.tools.scriptrunner.AbstractTask
 
toString() - Method in class com.massimo.tools.scriptrunner.context.AbstractExecutionContext
 
toString() - Method in class com.massimo.tools.scriptrunner.control.TaskRunner
toString() - Method in class com.massimo.tools.scriptrunner.ScriptRunner
 
toString() - Method in class com.massimo.utils.HierarchicalMap
Override Object
type - Variable in class com.massimo.tools.scriptrunner.AbstractTask
This Task's type
TYPE_If - Static variable in class com.massimo.tools.scriptrunner.TaskFactory
 
TYPE_OPTIONAL - Static variable in class com.massimo.tools.scriptrunner.TaskFactory
 
TYPE_PARALLEL - Static variable in class com.massimo.tools.scriptrunner.TaskFactory
 
TYPE_POLL - Static variable in class com.massimo.tools.scriptrunner.TaskFactory
 
TYPE_SERIAL - Static variable in class com.massimo.tools.scriptrunner.TaskFactory
 
TYPE_SPAWN - Static variable in class com.massimo.tools.scriptrunner.TaskFactory
 

U

uncaughtException(Thread, Throwable) - Method in class com.massimo.tools.scriptrunner.ScriptRunner
Called by JVM when a thread in this group stops because of an uncaught exception.

V

validate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Check whether this task should be able to run.
validate() - Method in class com.massimo.tools.scriptrunner.ScriptRunner
Check whether the tasks should be able to run.
validate(ValidationContext) - Method in interface com.massimo.tools.scriptrunner.Task
Check whether this task should be able to run.
validate(ValidationContext) - Method in class com.massimo.tools.scriptrunner.unused.AbstractGenerator
 
validateBinds(ValidationContext) - Method in class com.massimo.tools.scriptrunner.unused.OracleFileCheckTask
Checks that bind variables in bindNames have values.
validateBinds(ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
Checks that bind variables in bindNames have values.
validateConnections(ValidationContext) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Validate any child connection elements
validateNames() - Method in class com.massimo.tools.scriptrunner.context.ValidationContext
Check task names.
validateParameters(ValidationContext, String) - Method in class com.massimo.tools.scriptrunner.AbstractTask
Check MessageFormat parameter values exist for all formats in text.
validateSQL(String, ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.SQLFunctionTask
 
validateSQL(String, ValidationContext) - Method in class com.massimo.tools.scriptrunner.work.SQLTask
 
ValidationContext - Class in com.massimo.tools.scriptrunner.context
Tasks record themselves and their validation status in the ValidationContext, which generates a report.
ValidationContext() - Constructor for class com.massimo.tools.scriptrunner.context.ValidationContext
 
valueOf(String) - Static method in enum com.massimo.tools.scriptrunner.utils.DatabaseType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.massimo.tools.scriptrunner.utils.DatabaseType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.massimo.utils.HierarchicalMap
Implement Map

W

waitForSpawnedThreads() - Method in class com.massimo.tools.scriptrunner.ScriptRunner
Tasks may be running in spawned Threads.
writeFile(File, String) - Static method in class com.massimo.tools.scriptrunner.utils.FileUtils
 
writeMap(Map, PrintStream) - Static method in class com.massimo.utils.DebugDump
Sort and write the properties to out.
writeProperties(Properties, PrintStream) - Static method in class com.massimo.utils.DebugDump
Sort and write the properties to out.

X

XMLHelper - Class in com.massimo.utils
Helper to do things with XML and nu.xom.Elements
XMLHelper() - Constructor for class com.massimo.utils.XMLHelper
 
XSLTask - Class in com.massimo.tools.scriptrunner.work
Apply an XSL transform to an XML document to produce an output file.
XSLTask(Task, String, Element, Map<String, String>) - Constructor for class com.massimo.tools.scriptrunner.work.XSLTask
 

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