public class ScriptManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static ScriptManager |
instance |
private Instantiator |
modelInstantiator |
private ScriptChecker |
scriptChecker |
private ScriptInfo |
scriptInfo |
private ScriptMerger |
scriptMerger |
private java.util.HashMap<java.lang.String,ScriptSource> |
sourceHM |
private Instantiator |
typeInstantiator |
Constructor and Description |
---|
ScriptManager() |
Modifier and Type | Method and Description |
---|---|
void |
addScriptSource(java.lang.Object hostExample,
ScriptSource p) |
void |
addUtility(java.lang.Object obj) |
ScriptReport |
checkScripts(java.lang.Object obj) |
static ScriptManager |
get() |
Instantiator |
getModelInstantiator() |
ScriptInfo |
getScriptInfo() |
private ScriptSource |
getScriptSource(java.lang.Object host,
int role) |
java.lang.String |
getStubInfo(java.lang.Object host,
int role) |
ScriptStubs |
getStubs(java.lang.Object host,
int role) |
Instantiator |
getTypeInstantiator() |
java.lang.String |
mergeStubs(java.lang.String oldscript,
java.lang.String stubs) |
void |
setModelInstantiator(Instantiator inst) |
void |
setTypeInstantiator(Instantiator inst) |
void |
writeScripts(java.lang.Object obj,
int role) |
static ScriptManager instance
private java.util.HashMap<java.lang.String,ScriptSource> sourceHM
private ScriptMerger scriptMerger
private ScriptChecker scriptChecker
private ScriptInfo scriptInfo
private Instantiator typeInstantiator
private Instantiator modelInstantiator
public static ScriptManager get()
public void addUtility(java.lang.Object obj)
public ScriptInfo getScriptInfo()
public void setModelInstantiator(Instantiator inst)
public Instantiator getModelInstantiator()
public void setTypeInstantiator(Instantiator inst)
public Instantiator getTypeInstantiator()
public ScriptReport checkScripts(java.lang.Object obj)
public void addScriptSource(java.lang.Object hostExample, ScriptSource p)
private ScriptSource getScriptSource(java.lang.Object host, int role)
public ScriptStubs getStubs(java.lang.Object host, int role)
public java.lang.String getStubInfo(java.lang.Object host, int role)
public java.lang.String mergeStubs(java.lang.String oldscript, java.lang.String stubs)
public void writeScripts(java.lang.Object obj, int role)
Copyright © 2013. All Rights Reserved.