public final class DebuggerInfo extends Object implements ContextProvider
Session
and one or more
DebuggerEngine
and register them to DebuggerManager
. For
more information about debugger start process see:
DebuggerManager.startDebugging(org.netbeans.api.debugger.DebuggerInfo)
.Modifier and Type | Method and Description |
---|---|
static DebuggerInfo |
create(String typeID,
Object... services)
Creates a new instance of DebuggerInfo.
|
<T> List<? extends T> |
lookup(String folder,
Class<T> service)
Returns list of services of given type from given folder.
|
<T> T |
lookupFirst(String folder,
Class<T> service)
Returns one service of given type from given folder.
|
public static DebuggerInfo create(String typeID, Object... services)
typeID
- identification of DebuggerInfo type. Is used for
registration of external services.services
- you can register additional services for this
DebuggerInfo herepublic <T> List<? extends T> lookup(String folder, Class<T> service)
lookup
in interface ContextProvider
service
- a type of service to look forfolder
- a folder name or nullpublic <T> T lookupFirst(String folder, Class<T> service)
lookupFirst
in interface ContextProvider
service
- a type of service to look forfolder
- a folder name or null