|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.systems.as400.debug.sep.ServiceEntryPointManager
public class ServiceEntryPointManager
| Field Summary | |
|---|---|
static String |
copyright
|
| Fields inherited from interface com.ibm.etools.systems.as400.debug.sep.internal.PhantomEngineStatusListener |
|---|
COMM_LOST, START_FAIL |
| Constructor Summary | |
|---|---|
ServiceEntryPointManager()
Constructor. |
|
| Method Summary | |
|---|---|
void |
cleanProgramTimeInfo(String hostName)
Clean up the cached program time information. |
boolean |
enableServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
boolean enablementStatus)
Disable/enable ServiceEntryPoint |
PhantomDebugTarget |
findPhantomDebugTarget(IBMiConnection iSeriesConnection)
Find phantom debug session based on the iSeries host name |
String |
getCurrentMessage(IBMiConnection iSeriesConnection)
|
String |
getCurrentMessage(String hostName,
String userProfile)
|
PhantomDebugTarget |
getPhantomDebugTarget(IBMiConnection iSeriesConnection)
Find or create phantom debug session based on the iSeries host name |
PhantomDebugTarget |
getPhantomDebugTarget(String hostName,
String userProfile)
Find debug target. |
PhantomServiceEntryPointListManager |
getPhantomServiceEntryPointListManager()
Getter method for the Model of Service Entry Points view |
List<String> |
getSessionHosts()
|
Shell |
getShell()
This is the method in your class that will be called to return the shell for your viewer |
List<String> |
getUserProfiles(String host)
|
boolean |
hasPhantomDebugSession(String hostName,
String userProfile)
|
boolean |
hasSessions()
|
boolean |
isFirstTime(IBMiConnection iSeriesConnection,
String libraryName,
String programName,
String programType)
Return true if this is the first time to handle this program. |
boolean |
isProgramUpdated(IBMiConnection iSeriesConnection,
String libraryName,
String programName,
String programType)
Return true if program last modified time has been updated. |
boolean |
modifyServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
String newUserID,
String newProgramDestination,
String newProgramType,
String newProgramName,
String newModuleName,
String newEntryName)
Perform a modify ServiceEntryPoint operation |
void |
phantomDebugTargetJobStatusChanged(int status,
String hostName,
String userProfile)
Process teh phantom debug target job change event. |
boolean |
refreshServiceEntryPointForProgram(String hostName,
String setterUser,
String programDestination,
String programName,
String programType,
List<Integer> invalidSEPIDs)
Refresh all ServiceEntryPoints which belong to same program of the specified service entry point. |
boolean |
removeServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint)
Remove a ServiceEntryPoint |
boolean |
setServiceEntryPoint(IBMiConnection iSeriesConnection,
String selectedUserID,
String selectedProgramDestination,
String selectedProgramType,
String selectedProgramName,
String selectedModuleName,
String selectedEntryName)
Perform a set ServiceEntryPoint operation |
boolean |
setServiceEntryPoint(IBMiConnection iSeriesConnection,
String selectedUserID,
String selectedProgramDestination,
String selectedProgramType,
String selectedProgramName,
String selectedModuleName,
String selectedEntryName,
long timeStamp)
Perform a set ServiceEntryPoint operation |
boolean |
stopPhantomEngine(String hostName,
String userProfile)
Stop Phantom engine |
void |
systemModelResourceChanged(ISystemModelChangeEvent event)
This is the method in your class that will be called when a resource in the RSE model changes. |
void |
systemResourceChanged(ISystemResourceChangeEvent event)
This is the method in your class that will be called when a system resource changes. |
boolean |
updateProgramTime(IBMiConnection iSeriesConnection,
String libraryName,
String programName,
String programType)
Return true if program last modified time has been updated. |
| 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 ServiceEntryPointManager()
| Method Detail |
|---|
public PhantomDebugTarget getPhantomDebugTarget(IBMiConnection iSeriesConnection)
public PhantomDebugTarget findPhantomDebugTarget(IBMiConnection iSeriesConnection)
public PhantomServiceEntryPointListManager getPhantomServiceEntryPointListManager()
public boolean setServiceEntryPoint(IBMiConnection iSeriesConnection,
String selectedUserID,
String selectedProgramDestination,
String selectedProgramType,
String selectedProgramName,
String selectedModuleName,
String selectedEntryName)
IBMiConnection - String - userID, for hitter user profileString - programDestinationString - programTypeString - programNameString - moduleNameString - selectedEntryName
public boolean setServiceEntryPoint(IBMiConnection iSeriesConnection,
String selectedUserID,
String selectedProgramDestination,
String selectedProgramType,
String selectedProgramName,
String selectedModuleName,
String selectedEntryName,
long timeStamp)
IBMiConnection - String - userID, for hitter user profileString - programDestinationString - programTypeString - programNameString - moduleNameString - selectedEntryNamelong - timeStamp
public boolean modifyServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
String newUserID,
String newProgramDestination,
String newProgramType,
String newProgramName,
String newModuleName,
String newEntryName)
PhantomServiceEntryPoint: - service entry point to be modifiedIBMiConnection - String - userIDString - programDestinationString - programTypeString - programNameString - moduleNameString - selectedEntryNamepublic boolean removeServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint)
PhantomServiceEntryPoint - phantom service entry point to be removed
public boolean enableServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
boolean enablementStatus)
PhantomServiceEntryPoint: - service entry point to be enabled / disabledboolean - enablementStatus: false - DISABLE
true - ENABLE
public boolean refreshServiceEntryPointForProgram(String hostName,
String setterUser,
String programDestination,
String programName,
String programType,
List<Integer> invalidSEPIDs)
PhantomServiceEntryPoint: - service entry point to be refreshed.
public boolean stopPhantomEngine(String hostName,
String userProfile)
String - hostNameString - userProfileboolean - false - failed to stop
true - stoppedpublic String getCurrentMessage(IBMiConnection iSeriesConnection)
public String getCurrentMessage(String hostName,
String userProfile)
public boolean hasPhantomDebugSession(String hostName,
String userProfile)
public boolean hasSessions()
public List<String> getSessionHosts()
public List<String> getUserProfiles(String host)
public PhantomDebugTarget getPhantomDebugTarget(String hostName,
String userProfile)
hostName - userProfile -
public void systemModelResourceChanged(ISystemModelChangeEvent event)
ISystemModelChangeEvent
public void phantomDebugTargetJobStatusChanged(int status,
String hostName,
String userProfile)
phantomDebugTargetJobStatusChanged in interface PhantomEngineStatusListenerstatus -
public boolean isProgramUpdated(IBMiConnection iSeriesConnection,
String libraryName,
String programName,
String programType)
hostName - libraryName - programName - programType -
public boolean isFirstTime(IBMiConnection iSeriesConnection,
String libraryName,
String programName,
String programType)
hostName - libraryName - programName - programType -
public boolean updateProgramTime(IBMiConnection iSeriesConnection,
String libraryName,
String programName,
String programType)
hostName - libraryName - programName - programType -
public void cleanProgramTimeInfo(String hostName)
hostName - public void systemResourceChanged(ISystemResourceChangeEvent event)
SE28525public Shell getShell()
|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||