|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.as400cmdsubsys.ISeriesEventFileCommandDetector
This class is used by the command subsystem, when running a command, to determine if the 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.
By default, the command subsystem using a singleton instance of this class. However, for business partners that run their own compile commands, which generate event files, this policy can be subclassed and refined, and explicitly passed to the runCommand method in the subsystem.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
ISeriesEventFileCommandDetector()
Constructor for ISeriesCompileHelper. |
Method Summary | |
---|---|
static ISeriesEventFileCommandDetector |
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 ISeriesEventFileCommandDetector()
Method Detail |
public static ISeriesEventFileCommandDetector getDefaultEventFileDetector()
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.public String getEventFileMemberName(String commandString)
By default, if 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:
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |