@Extension public class SymbolLookup extends Object
Symbol.value()| Constructor and Description |
|---|
SymbolLookup() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
find(Class<T> type,
String symbol) |
<T> hudson.model.Descriptor<? extends T> |
findDescriptor(Class<T> type,
String symbol)
Looks for a
Descriptor that has the given symbol |
static SymbolLookup |
get()
Gets the singleton instance.
|
public <T> T find(Class<T> type, String symbol)
type - Restrict the search to a subset of extensions.public <T> hudson.model.Descriptor<? extends T> findDescriptor(Class<T> type, String symbol)
Descriptor that has the given symboltype - Restrict the search to a subset of Describablepublic static SymbolLookup get()
Copyright © 2016. All rights reserved.