com.cgiams.esl.fp
Class FlowProcessorCmdLine

java.lang.Object
  extended bycom.cgiams.esl.fp.FlowProcessorCmdLine

public class FlowProcessorCmdLine
extends java.lang.Object

This class implements a command line interface for the Flow Processor. Only 1 command line argument should be pasted to this class. That argument should be the file location of a properties file that contains options to be used to execute the Flow Processor. The following options are accepted:

Option Name Option Description Mandatory?
operation The operation to be performed. This is one of:
  • query
  • solicit
  • submit
Yes
output-file The file that any results are written to. Yes
flow-processor-config-file The file that the flow processor should use as its configuration file. Yes
submittal-code The submittal code defined in FP_SUBMITTAL.SUBMITTAL_CODE. Yes
url The URL to submit the data to for a Solicit. No
transaction-id The Transaction ID to use for a Solicit. No
start-row The starting row to be passed to a Query. No. The default is 1.
max-rows The maximum number of rows to be passed to a Query. No. The default is 0.
arguments This is a space or comma delimited list of argument names to pass to the Query or Solicit operation. No
<argument name>-value The value of the argument with the specified name. This name is one listed in the arguments option. No
<argument name>-type The type of the argument with the specified name. This name is one listed in the arguments option. This can be one of:
  • date
  • number
  • string
No
<argument name>-format The format of the argument with the specified name. This name is one listed in the arguments option. The format option is really only used to convert arguments into a type of date. No


Modification History
Programmer Date Description
Jim Matysczak 03/18/2005 Original Author


Constructor Summary
FlowProcessorCmdLine()
           
 
Method Summary
static void main(java.lang.String[] as_args)
          This method allows Flow Processor operations to be run from the command line.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowProcessorCmdLine

public FlowProcessorCmdLine()
Method Detail

main

public static void main(java.lang.String[] as_args)
                 throws java.lang.Exception
This method allows Flow Processor operations to be run from the command line.

Parameters:
as_args - An array of the command line arguments passed to this.
Throws:
java.lang.Exception - If an error occurs.