com.atlassian.bamboo.specs.builders.notification.ResponsibilityChangedNotification Maven / Gradle / Ivy
package com.atlassian.bamboo.specs.builders.notification;
import com.atlassian.bamboo.specs.api.builders.Applicability;
import com.atlassian.bamboo.specs.api.builders.notification.NotificationType;
import com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties;
import com.atlassian.bamboo.specs.api.model.notification.AnyNotificationTypeProperties;
import org.jetbrains.annotations.NotNull;
import java.util.EnumSet;
/**
* Represents a notification sent when responsibility of a broken plan is manually updated.
*/
public class ResponsibilityChangedNotification extends NotificationType {
private static final AtlassianModuleProperties ATLASSIAN_PLUGIN =
new AtlassianModuleProperties(
"com.atlassian.bamboo.brokenbuildtracker:responsibilityChanged");
@NotNull
@Override
protected AnyNotificationTypeProperties build() {
return new AnyNotificationTypeProperties(ATLASSIAN_PLUGIN, "", EnumSet.of(Applicability.PLANS));
}
}