/** * Short-hand to get to the display name. */ public final String getDisplayName() { return getDescriptor().getDisplayName(); }
/** * All the registered build choosers that are applicable to the specified item. * * @param item the item. * @return All build choosers applicable to item */ public static List<BuildChooserDescriptor> allApplicableTo(Item item) { List<BuildChooserDescriptor> result = new ArrayList<>(); for (BuildChooserDescriptor d: all()) { if (d.isApplicable(item.getClass())) result.add(d); } return result; }
if (choosingStrategy.equals(d.getLegacyId())) { try { buildChooser = d.clazz.newInstance();
if (choosingStrategy.equals(d.getLegacyId())) { try { setBuildChooser(d.clazz.newInstance());
/** * Short-hand to get to the display name. * @return display name of this build chooser */ public final String getDisplayName() { return getDescriptor().getDisplayName(); }
if (choosingStrategy.equals(d.getLegacyId())) { try { buildChooser = d.clazz.newInstance();
/** * Short-hand to get to the display name. */ public final String getDisplayName() { return getDescriptor().getDisplayName(); }