public static class Plugin.Context extends Object
| Modifier and Type | Method and Description |
|---|---|
Plugin.Context |
addExtension(Object extension)
|
Plugin.Context |
addExtensions(Collection extensions) |
Plugin.Context |
addExtensions(Object first,
Object second,
Object... others) |
List |
getExtensions() |
Version |
getSonarQubeVersion()
Runtime version of SonarQube
|
public Version getSonarQubeVersion()
public Plugin.Context addExtension(Object extension)
BatchSide, ServerSide
or ComputeEngineSide. The extension will be instantiated once. Its dependencies are
injected through constructor parameters.BatchSide, ServerSide
or ComputeEngineSide.public Plugin.Context addExtensions(Collection extensions)
addExtension(Object)public Plugin.Context addExtensions(Object first, Object second, Object... others)
addExtension(Object)public List getExtensions()
Copyright © 2009–2017 SonarSource. All rights reserved.