Skip to content

Commit

Permalink
Modify skip notif trait classname and symbol to avoid conflicts (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
baymac committed Apr 3, 2020
1 parent 79f9dcf commit 2f301c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -9,13 +9,13 @@
import org.jenkinsci.Symbol;
import org.kohsuke.stapler.DataBoundConstructor;

public class SkipNotificationsTrait extends SCMSourceTrait {
public class GitLabSkipNotificationsTrait extends SCMSourceTrait {

/**
* Constructor for stapler.
*/
@DataBoundConstructor
public SkipNotificationsTrait() {
public GitLabSkipNotificationsTrait() {
//empty
}

Expand All @@ -31,13 +31,13 @@ protected void decorateContext(SCMSourceContext<?, ?> context) {
* Our descriptor.
*/
@Extension
@Symbol("skipNotifications")
@Symbol("gitlabSkipNotifications")
public static class DescriptorImpl extends SCMSourceTraitDescriptor {

@NonNull
@Override
public String getDisplayName() {
return Messages.SkipNotificationsTrait_displayName();
return Messages.GitLabSkipNotificationsTrait_displayName();
}

@Override
Expand Down
Expand Up @@ -48,7 +48,7 @@ HookRegistrationTrait.disable=Disable {0} management
HookRegistrationTrait.displayName=Override GitLab hook management modes
HookRegistrationTrait.useItem=Use Item credentials for {0} management
HookRegistrationTrait.useSystem=Use System credentials for {0} management mode (default)
SkipNotificationsTrait.displayName=Skip pipeline status notifications
GitLabSkipNotificationsTrait.displayName=Skip pipeline status notifications
GitLabAvatarTrait.displayName=Disable GitLab project avatars
LogCommentTrait.displayName=Log build status as comment on GitLab
TriggerMRCommentTrait.displayName=Trigger build on merge request comment
Expand Down

0 comments on commit 2f301c0

Please sign in to comment.