Class EnvInjectPluginHelper
java.lang.Object
org.jenkinsci.plugins.envinjectapi.util.EnvInjectPluginHelper
API Methods for checking installation status of the EnvInject plugin.
- Author:
- Gregory Boissinot, Oleg Nenashev
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isEnvInjectActivated
(Run<?, ?> run) Check if EnvInject is activated for the Run.static boolean
Check if the EnvInject plugin is installed
-
Method Details
-
isEnvInjectActivated
Check if EnvInject is activated for the Run. It means that theEnvInjectAction
is defined, actually this action may be contributed by other plugins.- Parameters:
run
- Run- Returns:
true
if the run hasEnvInjectAction
-
isEnvInjectPluginInstalled
public static boolean isEnvInjectPluginInstalled()Check if the EnvInject plugin is installed- Returns:
true
If the plugin is installed. It may be not activated.
-