public interface STAFHelperCompatibleInterface
This interface contains some methods need by #STAFHelper
, but can't
be defined there due to the compatibility of STAF.
From STAF3, there are some new classes that don't exist for STAF2. If we use
them in STAFHelper, the ClassNotFoundException will be thrown with STAF2 environment.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STAF2_CLASS_NAME |
static java.lang.String |
STAF3_CLASS_NAME |
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getRunningEngineNames(java.lang.String machine)
Get collection of running Engine names.
|
java.util.List<java.lang.String> |
getServiceEvents(java.lang.String machine,
java.lang.String servicename)
According to the service name, we try to get all events related to it.
|
void |
setSTAFHelper(STAFHelper staf)
This MUST be called to set the STAFHelper before calling other methods.
|
static final java.lang.String STAF2_CLASS_NAME
static final java.lang.String STAF3_CLASS_NAME
void setSTAFHelper(STAFHelper staf)
staf
- java.util.List<java.lang.String> getServiceEvents(java.lang.String machine, java.lang.String servicename) throws SAFSException
servicename
- String, the service we want to get events forSAFSException
java.util.Collection getRunningEngineNames(java.lang.String machine) throws SAFSException
SAFSException
Copyright © SAS Institute. All Rights Reserved.