public interface Variables
Modifier and Type | Interface and Description |
---|---|
static class |
Variables.ImmutableVariableException
Throw to indicate that a variable change was attempted but the variable was not muable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Class<?> type) |
boolean |
contains(String name) |
<T> T |
get(Class<T> type) |
<T> T |
get(Class<T> type,
T defaultValue) |
Object |
get(String name) |
<T> T |
get(String name,
Class<T> type) |
<T> T |
get(String name,
Class<T> type,
T defaultValue) |
Object |
get(String name,
Object defaultValue) |
boolean |
isCloaked(Class<?> type) |
boolean |
isCloaked(String name) |
boolean |
isMutable(Class<?> type) |
boolean |
isMutable(String name) |
Iterator<String> |
names() |
Variables |
parent() |
void |
set(Class<?> type,
Object value) |
void |
set(String name,
Object value) |
void |
set(String name,
Object value,
boolean mutable) |
void |
unset(Class<?> type) |
void |
unset(String name) |
<T> T get(Class<T> type, T defaultValue)
<T> T get(Class<T> type)
void unset(String name)
void unset(Class<?> type)
boolean contains(String name)
boolean contains(Class<?> type)
boolean isMutable(String name)
boolean isMutable(Class<?> type)
boolean isCloaked(String name)
boolean isCloaked(Class<?> type)
Variables parent()
Copyright © 2008-2013 Sonatype. All Rights Reserved.