Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-40921] Review comments
  • Loading branch information
stephenc committed Mar 1, 2017
1 parent e72a89e commit e6ea7d8
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -342,7 +342,9 @@ public Map<TriggerDescriptor,Trigger<?>> getTriggers() {
return triggers.toMap();
}

@Restricted(NoExternalUse.class) // currently used only by jelly / stapler
public List<TriggerDescriptor> getTriggerDescriptors() {
// TODO remove this once core has support for DescriptorVisibilityFilter on Trigger.for_(Item)
List<TriggerDescriptor> result = new ArrayList<TriggerDescriptor>();
for (TriggerDescriptor d: Trigger.for_(this)) {
if (d instanceof TimerTrigger.DescriptorImpl) {
Expand Down

0 comments on commit e6ea7d8

Please sign in to comment.