|
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.IBMIQSYSEventFileCommandDetector
public class IBMIQSYSEventFileCommandDetector
This class is used to determine if a command will generate an event file, and if so to determine what the event file name will be. It is like a policy for these heuristics.
A singleton instance of this class is provided. Clients can subclass to provide their own policies for determining whether and how events file are supported and what the name will be.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
IBMIQSYSEventFileCommandDetector()
Constructor. |
Method Summary | |
---|---|
static IBMIQSYSEventFileCommandDetector |
getDefaultEventFileDetector()
Return the singleton instance of this class. |
String |
getEventFileMemberName(String commandString)
This method retrieves the event file member name, which is intended to be the same name as the target compile object. |
boolean |
supportsEventFiles(String commandString)
This method tells us whether the given command string supports generation of event files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public IBMIQSYSEventFileCommandDetector()
Method Detail |
---|
public static IBMIQSYSEventFileCommandDetector getDefaultEventFileDetector()
the
- singleton instance of this class.public boolean supportsEventFiles(String commandString)
By default, it tries to deduce this by looking at the given command string, using the following heuristics:
commandString
- the command string that will be submitted to the server for running. It will be interrogated.
true
if events file will be generated, false
otherwise.public String getEventFileMemberName(String commandString)
By default, it first calls supportsEventFiles to ensure this is an event file generating command, and if so, then it tries to pick the event file member name out of the given command string, using the following heuristics:
commandString
- command string that will be submitted to the server for running. It will be interrogated.
null
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |