Package io.jenkins.plugins.explain_error
Class PipelineGraphViewDecorator
java.lang.Object
hudson.model.Descriptor<PageDecorator>
hudson.model.PageDecorator
io.jenkins.plugins.explain_error.ConsolePageDecorator
io.jenkins.plugins.explain_error.PipelineGraphViewDecorator
- All Implemented Interfaces:
ExtensionPoint,Describable<PageDecorator>,Saveable,Loadable,OnMaster
Adds the "Explain Error" card and its scripts to the "Stages" page of the Pipeline Graph View
plugin. What the card needs to know about the build is the same as on the console page.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.PageDecorator
ALLFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the current request is for the "Stages" page of a build.Methods inherited from class io.jenkins.plugins.explain_error.ConsolePageDecorator
getExistingExplanation, getProviderName, getRunUrl, isExplainErrorEnabledMethods inherited from class hudson.model.PageDecorator
all, getDescriptor, getUrlMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
PipelineGraphViewDecorator
public PipelineGraphViewDecorator()
-
-
Method Details
-
isPluginActive
public boolean isPluginActive()Whether the current request is for the "Stages" page of a build. The page is looked for right under the build, so that a job or folder that happens to be called "stages" does not count.- Overrides:
isPluginActivein classConsolePageDecorator
-