Class BuildNotifier
- java.lang.Object
- 
- hudson.tasks.BuildStepCompatibilityLayer
- 
- hudson.tasks.Publisher
- 
- hudson.tasks.Notifier
- 
- hudson.plugins.collabnet.orchestrate.BuildNotifier
 
 
 
 
- 
- All Implemented Interfaces:
- ExtensionPoint,- Describable<Publisher>,- BuildStep
 
 public class BuildNotifier extends Notifier Notifies TeamForge when a build is complete. This is job-specific configuration.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBuildNotifier.OptionalAssociationViewstatic classBuildNotifier.OptionalWebhook- 
Nested classes/interfaces inherited from class hudson.tasks.PublisherPublisher.DescriptorExtensionListImpl
 - 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStepBuildStep.PublisherList
 - 
Nested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
 
- 
 - 
Field Summary- 
Fields inherited from interface hudson.tasks.BuildStepBUILDERS, PUBLISHERS
 
- 
 - 
Constructor SummaryConstructors Constructor Description BuildNotifier(BuildNotifier.OptionalAssociationView associationView, BuildNotifier.OptionalWebhook webhook)Creates a new BuildNotifier.
 - 
Method Summary- 
Methods inherited from class hudson.tasks.Publisherall, getProjectAction, needsToRunAfterFinalized, prebuild
 - 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayergetProjectAction, getProjectActions, perform, prebuild
 
- 
 
- 
- 
- 
Constructor Detail- 
BuildNotifier@DataBoundConstructor public BuildNotifier(BuildNotifier.OptionalAssociationView associationView, BuildNotifier.OptionalWebhook webhook) Creates a new BuildNotifier. Arguments are automatically supplied when the job configuration is read from the configuration file.- Parameters:
- associationView- The Association View
- webhook- The TeamForge webhook info
 
 
- 
 - 
Method Detail- 
getWebhookUsernamepublic String getWebhookUsername() 
 - 
getWebhookPasswordpublic Secret getWebhookPassword() 
 - 
getCollabNetUrlpublic String getCollabNetUrl() - Returns:
- the collabneturl for the CollabNet server.
 
 - 
getUsernamepublic String getUsername() - Returns:
- the username used for logging in.
 
 - 
overrideAuthpublic boolean overrideAuth() - Returns:
- whether or not auth is overriden
 
 - 
getPasswordpublic String getPassword() - Returns:
- the password used for logging in.
 
 - 
getConnectionFactorypublic ConnectionFactory getConnectionFactory() 
 - 
getWebhookpublic BuildNotifier.OptionalWebhook getWebhook() 
 - 
getTeamForgeShareDescriptorpublic static TeamForgeShare.TeamForgeShareDescriptor getTeamForgeShareDescriptor() - Returns:
- the TeamForge share descriptor.
 
 - 
getRequiredMonitorServicepublic BuildStepMonitor getRequiredMonitorService() 
 - 
getCtfUrlpublic String getCtfUrl() Reads the ctf project URL- Returns:
- the CTF project URL
 
 - 
setCtfUrlpublic void setCtfUrl(String ctfUrl) Sets the CTF URL- Parameters:
- ctfUrl- ctfUrl
 
 - 
getCtfUserpublic String getCtfUser() Reads the ctf credentials - user- Returns:
- the CTF project User
 
 - 
setCtfUserpublic void setCtfUser(String ctfUser) Sets the CTF User- Parameters:
- ctfUser- ctfUser
 
 - 
getCtfPasswordpublic String getCtfPassword() Reads the ctf passowrd- Returns:
- What should be displayed as ctf password
 
 - 
getDescriptorpublic BuildNotifierDescriptor getDescriptor() Gets the plugin descriptor with its global configuration.- Specified by:
- getDescriptorin interface- Describable<Publisher>
- Overrides:
- getDescriptorin class- Notifier
- Returns:
- the descriptor
 
 - 
performpublic boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException - Specified by:
- performin interface- BuildStep
- Overrides:
- performin class- BuildStepCompatibilityLayer
- Throws:
- InterruptedException
- IOException
 
 - 
getUseAssociationViewpublic boolean getUseAssociationView() 
 - 
setUseAssociationViewpublic void setUseAssociationView(boolean useAssociationView) 
 - 
getWebhookUrlpublic String getWebhookUrl() 
 - 
getSupportWebhookpublic boolean getSupportWebhook() 
 - 
setSupportWebhookpublic void setSupportWebhook(boolean supportWebhook) 
 
- 
 
-