|
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.Objectcom.ibm.etools.iseries.edit.verifiers.Verifier
public abstract class Verifier
| Nested Class Summary | |
|---|---|
protected class |
Verifier.RunnableProgramVerifier
Inner class to parser all in a different thread |
| Field Summary | |
|---|---|
protected boolean |
_bDBCS
|
protected boolean |
_bLocal
|
protected boolean |
_bShowListingsView
|
protected IBMiConnection |
_connection
|
protected IDocument |
_document
|
protected int |
_iCCSID
|
protected IQSYSJob |
_job
|
protected IQSYSMember |
_member
|
protected IFile |
_sourceIFile
|
protected String |
_strFullLocalFileName
|
protected String |
_strMessage
|
protected String |
_strProjectName
|
protected IVerifierView |
_view
|
static String |
copyright
|
static Object |
lock
|
| Constructor Summary | |
|---|---|
Verifier()
|
|
| Method Summary | |
|---|---|
byte[] |
callbackGetLinePrefixText(int iLine)
Called by the native proxy to obtain the text at a line number. |
byte[] |
callbackGetLineText(int iLine)
Called by the native proxy to obtain the text at a line number. |
int |
callbackGetNextLine(int iLine)
Called by the native proxy to obtain the line number of the next line. |
int |
callbackGetPreviousLine(int iLine)
Called by the native proxy to obtain the line number of the previous line. |
boolean |
callbackIsShowLine(int iLine)
Called by the native proxy to determine whether a line is a show line. |
String |
doVerification(int iMode)
Called by the editor and the RSE view. |
String |
doVerificationWithOptionsDialog()
Called by the editor and the RSE view. |
protected IBMiConnection |
findIBMiConnection(IQSYSMember member)
Find IBMiConnection associated with the given member. |
int |
getCCSID()
Returns the remote CCSID previously set. |
protected IFile |
getErrorListFile(IPath path)
Retrieves the previous IFile from the error list view. |
String |
getEventDirectoryPath()
Returns the directory that holds event files of extension "evt". |
String |
getEventName()
Returns either the member name, or the filename without the file extension. |
String |
getFullLocalFileName()
Get the file name if not a remote file. |
String |
getHostAlias()
Returns the alias string to be used for the host. |
int |
getHostCommunicationsPort()
Returns the communications port that can be used by the verifier to communicate with the host. |
static IPath |
getInformationDirectoryPath()
Returns the directory that holds listing files of extension "lst". |
String |
getInformationName()
Returns either the member name, or the filename without the file extension. |
String |
getISeriesMemberFullName()
Returns the fully qualified ISeries member name. |
static String |
getListingDirectoryPath()
Returns the directory that holds listing files of extension "lst". |
String |
getListingName()
Returns either the member name, or the filename without the file extension. |
String |
getLocalFileName()
|
IQSYSMember |
getQSYSMember()
Returns the ISeries member if a remote file. |
String |
getShortFileName()
Returns the member name if available, or the local file name |
String |
getSpecialCharsXLate()
Returns the special characters using the current CCSID |
void |
initializeViewFromDocument(IDocument document)
|
void |
initializeViewFromFile(IFile file)
|
void |
initializeViewFromLpexView(LpexView view)
|
boolean |
isDBCS()
Returns the state of the DBCS flag. |
boolean |
isIFSFile()
Returns true if is an IFS file, false otherwise |
boolean |
isLocal()
Queries whether the resource we are verifying is local or remote. |
void |
setIBMiConnection(IBMiConnection connection)
Method setIBMiConnection. |
void |
setIFile(IFile sourceIFile)
set the IFile to use for retrieving necessary info |
void |
setLocal(boolean bLocal)
Sets whether the resource we are verifying is local or remote. |
void |
setShowListingsView(boolean bShow)
Sets the displaying of the listings view. |
protected void |
showErrorListView()
Displays the error list (event) file in the error list view. |
protected void |
showListingsView()
Displays the listings view. |
protected abstract String |
verify(int iMode)
Subclasses to do the verification. |
protected abstract String |
verifyWithOptionsDialog()
Subclasses to display a verify options dialog, and do the verification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.etools.iseries.edit.verifiers.IVerifier |
|---|
getCacheRefresh |
| Field Detail |
|---|
public static String copyright
public static Object lock
protected boolean _bDBCS
protected boolean _bLocal
protected boolean _bShowListingsView
protected int _iCCSID
protected IDocument _document
protected IFile _sourceIFile
protected IQSYSMember _member
protected IVerifierView _view
protected IBMiConnection _connection
protected String _strFullLocalFileName
protected String _strMessage
protected String _strProjectName
protected IQSYSJob _job
| Constructor Detail |
|---|
public Verifier()
| Method Detail |
|---|
public byte[] callbackGetLineText(int iLine)
public byte[] callbackGetLinePrefixText(int iLine)
public int callbackGetNextLine(int iLine)
public int callbackGetPreviousLine(int iLine)
public boolean callbackIsShowLine(int iLine)
public String doVerification(int iMode)
doVerification in interface IVerifierpublic String doVerificationWithOptionsDialog()
doVerificationWithOptionsDialog in interface IVerifierpublic int getCCSID()
protected IFile getErrorListFile(IPath path)
public String getEventDirectoryPath()
public String getEventName()
public static IPath getInformationDirectoryPath()
public String getHostAlias()
public int getHostCommunicationsPort()
public String getInformationName()
public IQSYSMember getQSYSMember()
getQSYSMember in interface IVerifierpublic String getISeriesMemberFullName()
public static String getListingDirectoryPath()
public String getListingName()
public String getShortFileName()
public String getLocalFileName()
public String getFullLocalFileName()
IVerifier
getFullLocalFileName in interface IVerifiercom.ibm.etools.iseries.editor.verifiers.IVerifier#getFullLocalFileName()public String getSpecialCharsXLate()
public void initializeViewFromDocument(IDocument document)
throws IOException,
CoreException
IOException
CoreException
public void initializeViewFromFile(IFile file)
throws IOException,
CoreException
IOException
CoreExceptionpublic void initializeViewFromLpexView(LpexView view)
public boolean isDBCS()
public boolean isIFSFile()
public boolean isLocal()
IVerifier
isLocal in interface IVerifiercom.ibm.etools.iseries.editor.verifiers.IVerifier#isLocal()public void setIFile(IFile sourceIFile)
setIFile in interface IVerifierpublic void setIBMiConnection(IBMiConnection connection)
IVerifier
setIBMiConnection in interface IVerifierconnection - the connection to use when verifycom.ibm.etools.iseries.editor.verifiers.IVerifier#setIBMiConnection(IBMiConnection)public void setLocal(boolean bLocal)
IVerifier
setLocal in interface IVerifiercom.ibm.etools.iseries.editor.verifiers.IVerifier#setLocal(boolean)public void setShowListingsView(boolean bShow)
protected void showErrorListView()
protected void showListingsView()
protected abstract String verify(int iMode)
protected abstract String verifyWithOptionsDialog()
protected IBMiConnection findIBMiConnection(IQSYSMember member)
member -
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||