Class Variables.Clazzs
java.lang.Object
org.jrd.agent.api.Variables.Clazzs
- Enclosing class:
Variables
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ClassclassForName(String clazz) static Objectstatic Objectstatic Objectstatic voiddestroy()static Stringdump()static Stringstatic Objectstatic Objectstatic Objectstatic ObjectgetOrCreate(Class owner, String name, Object defaultValue) static ObjectgetOrCreate(String name, Object defaultValue) static ObjectgetOrCreate(String owner, String name, Object defaultValue) static voidinit()private static ClassnullOrClass(String fqn) static Objectstatic Objectstatic Objectstatic voidstatic voidstatic voidstatic Objectstatic Objectstatic Objectstatic ObjectsetNoReplace(Class owner, String name, Object value) static ObjectsetNoReplace(String name, Object value) static ObjectsetNoReplace(String owner, String name, Object value)
-
Field Details
-
CLAZZS
-
-
Constructor Details
-
Clazzs
protected Clazzs()
-
-
Method Details
-
init
public static void init() -
classForName
- Throws:
Variables.FakeVariableException
-
nullOrClass
- Throws:
Variables.FakeVariableException
-
set
- Throws:
Variables.FakeVariableException
-
set
public static Object set(String owner, String name, Object value) throws Variables.FakeVariableException - Throws:
Variables.FakeVariableException
-
set
-
setNoReplace
public static Object setNoReplace(String name, Object value) throws Variables.FakeVariableAlreadyDeclaredException -
setNoReplace
public static Object setNoReplace(String owner, String name, Object value) throws Variables.FakeVariableAlreadyDeclaredException -
setNoReplace
public static Object setNoReplace(Class owner, String name, Object value) throws Variables.FakeVariableAlreadyDeclaredException -
get
- Throws:
Variables.FakeVariableException
-
get
- Throws:
Variables.FakeVariableException
-
get
-
getOrCreate
public static Object getOrCreate(String name, Object defaultValue) throws Variables.FakeVariableException - Throws:
Variables.FakeVariableException
-
getOrCreate
public static Object getOrCreate(String owner, String name, Object defaultValue) throws Variables.FakeVariableException - Throws:
Variables.FakeVariableException
-
getOrCreate
-
create
public static Object create(String name, Object defaultValue) throws Variables.FakeVariableAlreadyDeclaredException -
create
public static Object create(String owner, String name, Object defaultValue) throws Variables.FakeVariableAlreadyDeclaredException -
create
public static Object create(Class owner, String name, Object defaultValue) throws Variables.FakeVariableAlreadyDeclaredException -
remove
- Throws:
Variables.FakeVariableException
-
remove
- Throws:
Variables.FakeVariableException
-
remove
-
removeAll
- Throws:
Variables.FakeVariableException
-
removeAll
- Throws:
Variables.FakeVariableException
-
removeAll
-
destroy
public static void destroy() -
dump
-
dump
-