public class FeaturesManagerCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,FeaturesInfo> |
getAllFeatures()
Get all the defined Features.
|
FeaturesInfo |
getFeaturesInfo(java.lang.String featureName)
Get the FeaturesInfo object
|
static FeaturesManagerCache |
getInstance()
Always use one instance of FeaturesManagerCache
|
boolean |
isImplemented(java.lang.String featureName)
Returns true if feature implemented
|
void |
loadFeatures(byte[] data,
java.lang.String fileName)
Load Features information in memory
|
void |
reload()
Refresh FeaturesManagerCache
|
public static FeaturesManagerCache getInstance() throws MXException
MXException
- MAXIMO exceptionpublic void loadFeatures(byte[] data, java.lang.String fileName) throws MXException
MXException
- MAXIMO exceptionpublic java.util.Map<java.lang.String,FeaturesInfo> getAllFeatures()
public FeaturesInfo getFeaturesInfo(java.lang.String featureName)
featureName
- feature namepublic boolean isImplemented(java.lang.String featureName)
java.lang.Exception
public void reload() throws MXException
MXException
- Maximo Exception