Bug 227822 - Add support for @IntegerOption for hints
Add support for @IntegerOption for hints
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Hints
7.4
PC Linux
: P2 (vote)
: 7.4
Assigned To: Svata Dedic
issues@java
: API, API_REVIEW_FAST
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-22 13:28 UTC by Svata Dedic
Modified: 2013-04-03 22:11 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
Proposed hint annotation (4.13 KB, patch)
2013-03-22 13:28 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2013-03-22 13:28:25 UTC
Created attachment 132948 [details]
Proposed hint annotation

I am writing some metric hints, which typically require some threshold and report if the actual values pass that threshold. Hints SPI now provide out-of-the-box support for boolean options, I would like to add integer options as well.

Please see the attached diff for a proposed annotation.
Comment 1 Svata Dedic 2013-04-02 20:22:58 UTC
No objections so far, I'm going to commit the change tomorrow.
Comment 2 Svata Dedic 2013-04-03 22:11:00 UTC
Implemented in http://hg.netbeans.org/jet-main/rev/b3842768a2b9


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo