public class EnvInjectPluginHelper extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isEnvInjectActivated(hudson.model.Run<?,?> run)
Check if EnvInject is activated for the Run.
|
static boolean |
isEnvInjectPluginInstalled()
Check if the EnvInject plugin is installed
|
public static boolean isEnvInjectActivated(@Nonnull hudson.model.Run<?,?> run)
EnvInjectAction
is defined, actually this action may be contributed by other plugins.run
- Runtrue
if the run has EnvInjectAction
public static boolean isEnvInjectPluginInstalled()
true
If the plugin is installed. It may be not activated.Copyright © 2016–2017. All rights reserved.