@Extension public class NoopCardProvider extends CardProvider
Modifier and Type | Class and Description |
---|---|
static class |
NoopCardProvider.DescriptorImpl |
Constructor and Description |
---|
NoopCardProvider() |
Modifier and Type | Method and Description |
---|---|
Card |
getCard(hudson.model.Run<?,?> run,
hudson.model.TaskListener taskListener,
Icon icon,
String message)
Returns a card corresponding to the build notification.
|
CardProviderDescriptor |
getDescriptor() |
attribute, getCard
public Card getCard(hudson.model.Run<?,?> run, hudson.model.TaskListener taskListener, Icon icon, String message)
CardProvider
getCard
in class CardProvider
run
- The build run.taskListener
- The taskListener associated with the current build.icon
- The icon to include in the message. May be null.message
- The fully resolved notification message.public CardProviderDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<CardProvider>
getDescriptor
in class CardProvider
Copyright © 2016–2018. All rights reserved.