- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 33 of file Secrets.java.
◆ getObject() [1/2]
static <T> T org.turro.action.Secrets.getObject |
( |
KeyValueMap |
kvm | ) |
|
|
static |
Definition at line 55 of file Secrets.java.
56 for(ISecret iSecret : Instances.cached().byAnnotation(Secret.class, ISecret.class)) {
57 T value = iSecret.<T>
get(kvm);
◆ getObject() [2/2]
static <T> T org.turro.action.Secrets.getObject |
( |
String |
keys | ) |
|
|
static |
Definition at line 46 of file Secrets.java.
48 return Secrets.<T>
getObject(
new KeyValueMap(keys));
49 }
catch (ParserException ex) {
50 Logger.getLogger(Secrets.class.getName()).log(Level.SEVERE,
null, ex);
static< T > T getObject(String keys)
◆ getSecret()
static String org.turro.action.Secrets.getSecret |
( |
String |
keys | ) |
|
|
static |
Definition at line 37 of file Secrets.java.
39 return Secrets.<String>
getObject(
new KeyValueMap(keys));
40 }
catch (ParserException ex) {
41 Logger.getLogger(Secrets.class.getName()).log(Level.SEVERE,
null, ex);
◆ isSecret()
static boolean org.turro.action.Secrets.isSecret |
( |
String |
key, |
|
|
Object |
value |
|
) |
| |
|
static |
Definition at line 65 of file Secrets.java.
66 for(ISecret iSecret : Instances.cached().byAnnotation(Secret.class, ISecret.class)) {
67 if(iSecret.is(key, value)) {
The documentation for this class was generated from the following file: