|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.safs.Processor | +--org.safs.jrex.JREXCustomProcessor
Field Summary | |
protected java.lang.String |
ECHORECORD
|
protected java.lang.String |
SETURL
|
protected java.lang.String |
STARTJREX
|
Constructor Summary | |
JREXCustomProcessor()
|
Method Summary | |
protected boolean |
instantiateAndProcessDriverCommand(java.util.Collection param)
|
protected java.util.Collection |
interpretFields()
Purpose: Interprets the fields of the driver command record and puts the appropriate values into the fields of testRecordData. |
boolean |
isSupportedRecordType(java.lang.String recordType)
Determine support for a particular record type. |
void |
process()
Purpose: process: process the testRecordData |
protected void |
setURL(java.lang.String url)
|
protected void |
startJRex()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String STARTJREX
protected java.lang.String SETURL
protected java.lang.String ECHORECORD
Constructor Detail |
public JREXCustomProcessor()
Method Detail |
public boolean isSupportedRecordType(java.lang.String recordType)
Processor
isSupportedRecordType
in class Processor
org.safs.Processor
recordType
- -- String text of record type to match (ignoring case).public void process()
At this point the Driver has determined we are dealing with a Driver Command Record.
Field #1: The record type (C).
Subsequent fields would be as follows (with a separator between each field):
Field: #2 #3 - N
============== ==============
COMMAND, [PARAMETER(S),]
COMMAND the driver command
Side Effects: Processor.testRecordData
statusCode is set
based on the result of the processing
State Read: Processor.testRecordData
Assumptions: an 'SAFSException' is caught here, and if so, the status code
is set to StatusCodes.WRONG_NUM_FIELDS, which is the only error which should come
from the interpretFields() method which we call. This only happens if we don't have
the token (2)
Added by dbauman Feb, 2004 so that a variable remains for the next test with
the status code. Copies the status code to variable 'customStatusCode'
process
in class Processor
protected java.util.Collection interpretFields() throws SAFSException
Processor.testRecordData
fields are set from the inputRecord.
Processor.testRecordData
, the inputRecord field
Field #1: The DRIVER COMMAND record type (C).
Subsequent fields would be as follows (with a separator between each field):
Field: #2 #3 - N
============== ===============
COMMAND, [PARAMETER(S),]
protected boolean instantiateAndProcessDriverCommand(java.util.Collection param) throws java.lang.Exception
protected void startJRex()
protected void setURL(java.lang.String url)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |