|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.editor.verifiers.Verifier
Base class for all iSeries program verifiers. Utility methods required by all program verifiers exist here. The view has the content of the source, and methods to obtain lines.
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 ISeriesConnection |
_connection
|
protected IDocument |
_document
|
protected int |
_iCCSID
|
protected ISeriesJob |
_job
|
protected ISeriesMember |
_member
|
protected IFile |
_sourceIFile
|
protected String |
_strFullLocalFileName
|
protected String |
_strMessage
|
protected String |
_strProjectName
|
protected IVerifierView |
_view
|
static String |
copyright
|
Fields inherited from interface com.ibm.etools.iseries.editor.verifiers.IVerifier |
---|
Copyright |
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(boolean bSilentMode)
Called by the editor and the RSE view. |
String |
doVerificationWithOptionsDialog()
Called by the editor and the RSE view. |
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. |
ISeriesMember |
getISeriesMember()
Returns the ISeries member if a remote file. |
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()
|
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(com.ibm.lpex.core.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 |
setIFile(IFile sourceIFile)
set the IFile to use for retrieving necessary info |
void |
setISeriesConnection(ISeriesConnection connection)
Method setISeriesConnection. |
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. |
abstract String |
verify(boolean bSilentMode)
Subclasses to do the verification. |
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.editor.verifiers.IVerifier |
---|
getCacheRefresh |
Field Detail |
public static final String copyright
protected boolean _bDBCS
protected boolean _bLocal
protected boolean _bShowListingsView
protected int _iCCSID
protected IDocument _document
protected IFile _sourceIFile
protected ISeriesMember _member
protected IVerifierView _view
protected ISeriesConnection _connection
protected String _strFullLocalFileName
protected String _strMessage
protected String _strProjectName
protected ISeriesJob _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(boolean bSilentMode)
doVerification
in interface IVerifier
public String doVerificationWithOptionsDialog()
doVerificationWithOptionsDialog
in interface IVerifier
public 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 ISeriesMember getISeriesMember()
getISeriesMember
in interface IVerifier
public String getISeriesMemberFullName()
public static String getListingDirectoryPath()
public String getListingName()
public String getShortFileName()
public String getLocalFileName()
public String getFullLocalFileName()
IVerifier
getFullLocalFileName
in interface IVerifier
IVerifier.getFullLocalFileName()
public String getSpecialCharsXLate()
public void initializeViewFromDocument(IDocument document) throws IOException, CoreException
IOException
CoreException
public void initializeViewFromFile(IFile file) throws IOException, CoreException
IOException
CoreException
public void initializeViewFromLpexView(com.ibm.lpex.core.LpexView view)
public boolean isDBCS()
public boolean isIFSFile()
public boolean isLocal()
IVerifier
isLocal
in interface IVerifier
IVerifier.isLocal()
public void setIFile(IFile sourceIFile)
setIFile
in interface IVerifier
public void setISeriesConnection(ISeriesConnection connection)
IVerifier
setISeriesConnection
in interface IVerifier
connection
- the connection to use when verifyIVerifier.setISeriesConnection(ISeriesConnection)
public void setLocal(boolean bLocal)
IVerifier
setLocal
in interface IVerifier
IVerifier.setLocal(boolean)
public void setShowListingsView(boolean bShow)
protected void showErrorListView()
protected void showListingsView()
public abstract String verify(boolean bSilentMode)
public abstract String verifyWithOptionsDialog()
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |