|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.kernel.cache.CacheManager
com.trackstudio.kernel.cache.PluginCacheManager
public class PluginCacheManager
Класс используется для кеширования плгинов
| Field Summary |
|---|
| Fields inherited from class com.trackstudio.kernel.cache.CacheManager |
|---|
hu |
| Method Summary | |
|---|---|
java.lang.String |
createScript(java.lang.String name,
PluginType type,
java.lang.String formula)
Создает скрипт |
AbstractPluginCacheItem |
find(PluginType type,
java.lang.String name)
Ищет плагин по названию и типу |
static PluginCacheManager |
getInstance()
Возвращает экземпляр текущего класса |
static java.util.HashMap<java.lang.String,java.lang.String> |
getScriptNames(java.util.List<java.lang.String> scripts)
Возаращает карту названий скриптов |
java.util.List<AbstractPluginCacheItem> |
list(PluginType type)
Возвращает список плагинов указанного типа |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PluginCacheManager getInstance()
throws GranException
GranException - при необходимости
public AbstractPluginCacheItem find(PluginType type,
java.lang.String name)
throws GranException
type - тип плагинаname - название плагина
GranException - при необходимостиAbstractPluginCacheItem
public java.util.List<AbstractPluginCacheItem> list(PluginType type)
throws GranException
type - тип плагина
GranException - при необходимостиAbstractPluginCacheItem
public java.lang.String createScript(java.lang.String name,
PluginType type,
java.lang.String formula)
throws GranException
name - название скриптаtype - тип скриптаformula - фармула скрипта
GranException - при необходимостиpublic static java.util.HashMap<java.lang.String,java.lang.String> getScriptNames(java.util.List<java.lang.String> scripts)
scripts - список названий скриптоа
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||