|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.util.evfparser.QSYSEventsFileProcessorBlockCore
public class QSYSEventsFileProcessorBlockCore
Field Summary | |
---|---|
protected String |
_connection
|
protected QSYSEventsFileProcessorRecord |
_currentProcessor
|
protected LinkedList |
_errors
|
protected QSYSEventsFileMapTable |
_mappingTable
|
protected QSYSEventsFileProcessorBlockCore |
_previousProcessorBlock
|
protected String |
_profile
|
protected String |
_project
|
protected String |
_type
|
protected String |
INPUT_FILE_ID
|
Constructor Summary | |
---|---|
QSYSEventsFileProcessorBlockCore(QSYSEventsFileProcessorRecord record)
|
Method Summary | |
---|---|
void |
addErrorInformation(QSYSEventsFileErrorInformationRecord record)
|
void |
addFile(QSYSEventsFileFileIDRecord file)
|
void |
closeFile(QSYSEventsFileFileEndRecord file)
|
boolean |
containsExpansionEvents()
|
LinkedList |
getAllProcessorErrors()
This method is used by the JUnit test for event file processing. |
QSYSEventsFileFileIDRecord |
getInitialInputFile()
Returns the input file of the first processor block of the current events file. |
QSYSEventsFileFileIDRecord |
getInputFile()
|
QSYSEventsFileMapTable |
getMappingTable()
|
QSYSEventsFileFileIDRecord |
getOutputFile()
|
QSYSEventsFileProcessorBlockCore |
getPreviousProcessorBlock()
|
int |
getTotalNumberOfLinesInInputFiles()
|
int |
getTotalNumberOfLinesInOutputFile()
|
protected boolean |
isFileReadOnly(QSYSEventsFileFileIDRecord fileIDRecord)
Determines whether a file in the current processor block is read-only or not. |
boolean |
isFirstInEventsFile()
Returns whether the current processor block is the first one in the current "sub" events file (needed for events file that contains multiple events files that have been combined into one) |
boolean |
isMappingSupported()
|
boolean |
isProcessorIDZero()
|
void |
modifyErrorInformation(QSYSEventsFileErrorInformationRecord error)
|
void |
processorEnded()
|
protected boolean |
resolveFileNameAndDetermineIfReadOnly(QSYSEventsFileErrorInformationRecord error)
Maps the error back to the original input member and resolves the filename of that member. |
void |
resolveFileNamesForAllErrors()
|
void |
setContainsExpansionEvents(boolean containsExpansionEvents)
|
void |
setFirstInEventsFile(boolean isFirstInEventsFile)
Sets whether the current processor block is the first one in the current "sub" events file (needed for events file that contains multiple events files that have been combined into one) |
void |
setInputFile(QSYSEventsFileFileIDRecord file)
|
void |
setMappingSupported(boolean _mappingSupported)
|
void |
setOutputFile(QSYSEventsFileFileIDRecord file)
|
void |
setPreviousProcessor(QSYSEventsFileProcessorBlockCore previous)
|
void |
setTotalNumberOfLinesInOutputFile(int numberOfLines)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final String INPUT_FILE_ID
protected LinkedList _errors
protected QSYSEventsFileProcessorRecord _currentProcessor
protected QSYSEventsFileMapTable _mappingTable
protected QSYSEventsFileProcessorBlockCore _previousProcessorBlock
protected String _connection
protected String _profile
protected String _type
protected String _project
Constructor Detail |
---|
public QSYSEventsFileProcessorBlockCore(QSYSEventsFileProcessorRecord record)
Method Detail |
---|
public QSYSEventsFileFileIDRecord getInputFile()
public QSYSEventsFileFileIDRecord getInitialInputFile()
public void setInputFile(QSYSEventsFileFileIDRecord file)
public void addFile(QSYSEventsFileFileIDRecord file) throws SecondLevelHelpException
SecondLevelHelpException
public void closeFile(QSYSEventsFileFileEndRecord file) throws SecondLevelHelpException
SecondLevelHelpException
public QSYSEventsFileFileIDRecord getOutputFile()
public void setOutputFile(QSYSEventsFileFileIDRecord file)
public QSYSEventsFileMapTable getMappingTable()
public boolean isProcessorIDZero()
public void addErrorInformation(QSYSEventsFileErrorInformationRecord record)
public void processorEnded() throws SecondLevelHelpException
SecondLevelHelpException
public void setPreviousProcessor(QSYSEventsFileProcessorBlockCore previous)
public void setContainsExpansionEvents(boolean containsExpansionEvents)
public boolean containsExpansionEvents()
public int getTotalNumberOfLinesInInputFiles()
public void setTotalNumberOfLinesInOutputFile(int numberOfLines)
public int getTotalNumberOfLinesInOutputFile()
public QSYSEventsFileProcessorBlockCore getPreviousProcessorBlock()
public void modifyErrorInformation(QSYSEventsFileErrorInformationRecord error) throws SecondLevelHelpException
SecondLevelHelpException
public void setFirstInEventsFile(boolean isFirstInEventsFile)
isFirstInEventsFile
- public boolean isFirstInEventsFile()
public void setMappingSupported(boolean _mappingSupported)
public boolean isMappingSupported()
protected boolean isFileReadOnly(QSYSEventsFileFileIDRecord fileIDRecord)
fileRecord
- - the QSYSEventsFileFileIDRecord of the file to check
public LinkedList getAllProcessorErrors()
public void resolveFileNamesForAllErrors() throws SecondLevelHelpException
SecondLevelHelpException
protected boolean resolveFileNameAndDetermineIfReadOnly(QSYSEventsFileErrorInformationRecord error) throws SecondLevelHelpException
error
- - the QSYSEventsFileErrorInformationRecord to resolve
SecondLevelHelpException
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |