public interface CoreInterface extends RuntimeDataInterface
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getAppMapNames() |
java.lang.String |
getLogName() |
java.lang.String |
getMachine() |
java.lang.String |
getProcessName() |
void |
getSAFSTestRecordData(java.lang.String hookid,
TestRecordData data) |
boolean |
isInitialized() |
boolean |
isSAFSINPUTAvailable() |
boolean |
isSAFSLOGSAvailable() |
boolean |
isSAFSMAPSAvailable() |
boolean |
isSAFSVARSAvailable() |
boolean |
isServiceAvailable(java.lang.String servicename) |
boolean |
isToolAvailable(java.lang.String toolname)
Queries the Core communications protocol to see if a particular process name is
currently registered and running.
|
void |
setSAFSTestRecordData(java.lang.String hookid,
TestRecordData data) |
getAppMapItem, getVariable, setVariable
java.lang.String getLogName() throws SAFSException
SAFSException
java.lang.String getMachine()
java.lang.String getProcessName()
java.util.Collection getAppMapNames() throws SAFSException
SAFSException
void getSAFSTestRecordData(java.lang.String hookid, TestRecordData data) throws SAFSException
SAFSException
void setSAFSTestRecordData(java.lang.String hookid, TestRecordData data) throws SAFSException
SAFSException
boolean isInitialized()
boolean isSAFSINPUTAvailable()
boolean isSAFSLOGSAvailable()
boolean isSAFSVARSAvailable()
boolean isSAFSMAPSAvailable()
boolean isServiceAvailable(java.lang.String servicename)
boolean isToolAvailable(java.lang.String toolname)
For example, the SAFSVARS service process name is "SAFSVariableService".
For the STAF implementation of the core protocol: the routine will do a QUERY ALL on the HANDLE service and then evaluate if the requested tool appears anywhere in the returned list of named processes.
Future core services might be something alternative to STAF.
Note, because we do a substring search, we can match on just the most significant portion of the process name.
toolname
- -- The name of the process of interest. Check your documentation
to find the name normally registered by the tool of interest.
This can be just a substring of the full tool name. It is NOT to be case-sensitive.Copyright © SAS Institute. All Rights Reserved.