|
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.subsystems.qsys.api.NativeWindowsCalls
public class NativeWindowsCalls
NativeWindowsCalls - This class provides static helper methods which need access native code in Windows
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
NativeWindowsCalls()
|
Method Summary | |
---|---|
static int |
evfDeregisterServer(String alias)
evfDeregisterServer Deregister a CODE server. |
static int |
evfRegisterServer(String alias,
String hostname,
String userId,
String pwd,
String curlib,
String[] libl)
evfRegisterServer Register a temporary server to CODE. |
static String |
getEnvironmentVariable(String key)
Retrieve a Windows environment variable |
static String |
getWDTInstallDirectory()
Retrieve the path where WDT is installed. |
static String |
getWindowsDirectory()
Retrieve the path of the Windows directory. |
static boolean |
isAdminOrPowerUser()
Check if the current user profile is a member of the local Administrators or Power Users groups |
static boolean |
isCODEInstalled()
Check if the CODE toolset is installed on the system. |
static boolean |
runLocalCommand(String cmd)
|
static void |
unloadEvfconsDLL()
unloadDEvfconsDLL This method must be called before the Workbench closes to release evfcons.dll which is loaded at runtime by rsentv.dll |
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 NativeWindowsCalls()
Method Detail |
---|
public static boolean runLocalCommand(String cmd)
public static int evfRegisterServer(String alias, String hostname, String userId, String pwd, String curlib, String[] libl)
alias
- 8 Character alias name (CODE server name)hostname
- The actual IP name or address to associate with the alias nameuserId
- The user ID to connect withpwd
- The password to connect withcurlib
- The curlib to set -- CURRENTLY IGNOREDlibl[]
- Array of libraries in the library list -- CURRENTLY IGNORED
public static int evfDeregisterServer(String alias)
alias
- 8 Character alias name (CODE server name)
public static void unloadEvfconsDLL()
public static String getWindowsDirectory()
public static String getWDTInstallDirectory()
public static String getEnvironmentVariable(String key)
key
- The key for the environment variable to be retrieved.
i.e. path, ProgramFiles or Temp
public static boolean isCODEInstalled()
public static boolean isAdminOrPowerUser()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |