コード例 #1
0
 @Override
 public void declareExtensions(ExtensionProfile extProfile) {
   if (extProfile.isDeclared(CombinationEntry.class)) {
     return;
   }
   super.declareExtensions(extProfile);
   extProfile.declare(CombinationEntry.class, GwoComboActive.class);
   extProfile.declare(CombinationEntry.class, GwoComboId.class);
   extProfile.declare(CombinationEntry.class, GwoComboString.class);
   extProfile.declare(CombinationEntry.class, GwoExperimentId.class);
 }
コード例 #2
0
 @Override
 public void declareExtensions(ExtensionProfile extProfile) {
   if (extProfile.isDeclared(IssueCommentsEntry.class)) {
     return;
   }
   super.declareExtensions(extProfile);
   extProfile.declare(IssueCommentsEntry.class, IssuesLink.getDefaultDescription(false, true));
   extProfile.declare(IssueCommentsEntry.class, SendEmail.class);
   extProfile.declare(IssueCommentsEntry.class, Updates.class);
   new Updates().declareExtensions(extProfile);
 }