|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.script.ScriptUtils
public class ScriptUtils
Small set of static utilities used throughout script framework.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_DUMP_KEYS
Key to look up in scriptframework.properties file to decide if we should print the keys contained in the attributes map out to the trace log. |
| Constructor Summary | |
|---|---|
ScriptUtils()
|
|
| Method Summary | |
|---|---|
static java.util.Properties |
getFESIScriptProperties()
Get all the properties for the FESI script engine from fesiextensions.properties. |
static java.lang.String |
getGUID()
Generate a globally unique id. |
static java.util.Properties |
getScriptProperties()
Get all the properties for the scripting framework. |
static java.lang.String |
getScriptProperty(java.lang.String property)
Gets the value of the specified property from a configuration file. |
static void |
updateLogicalContext(ModelScriptInterface si,
ContextItem item,
java.util.List<ContextItem> beans)
Update the ContextItem, item, with the logical context and add item to the beans List but only if si.getLogicalContext(); returns
a non-null value. |
static void |
updateRootDN(ModelScriptInterface si,
ContextItem item,
java.util.List<ContextItem> beans)
Update the ContextItem, item, with the root DN and add item to the beans List but only if si.getRootDN(); returns a non-null value. |
static void |
updateServiceProfile(ModelScriptInterface si,
ContextItem item,
java.util.List<ContextItem> beans)
Update the ContextItem, item, with the service profile context and add item to the beans List but only if si.getServiceProfileContext(); returns a non-null value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATTR_DUMP_KEYS
| Constructor Detail |
|---|
public ScriptUtils()
| Method Detail |
|---|
public static java.util.Properties getScriptProperties()
public static java.util.Properties getFESIScriptProperties()
public static java.lang.String getScriptProperty(java.lang.String property)
property - The name of the property to lookup.
public static java.lang.String getGUID()
public static void updateRootDN(ModelScriptInterface si,
ContextItem item,
java.util.List<ContextItem> beans)
si.getRootDN(); returns a non-null value.
This is a helper method for model extensions which may or may not
implement each part of the ModelScriptInterface.
si - The ModelScriptInterface to query.item - The ContextItem to update.beans - The List to add item to.
public static void updateLogicalContext(ModelScriptInterface si,
ContextItem item,
java.util.List<ContextItem> beans)
si.getLogicalContext(); returns
a non-null value. This is a helper method for model extensions which may
or may not implement each part of the ModelScriptInterface.
si - The ModelScriptInterface to query.item - The ContextItem to update.beans - The List to add item to.
public static void updateServiceProfile(ModelScriptInterface si,
ContextItem item,
java.util.List<ContextItem> beans)
si.getServiceProfileContext(); returns a non-null value.
This is a helper method for model extensions which may or may not
implement each part of the ModelScriptInterface.
si - The ModelScriptInterface to query.item - The ContextItem to update.beans - The List to add item to.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||