until SEZPOZ-6 is fixed, we can't mark the @Extension as Retention(RUNTIME), so the sort order won't take effect.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18074 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-05-13 23:09:15 +00:00
1 parent ec6a98b64a
commit 68f5615cd9
4 files changed
+26 -2

No files matched your search

+9
View File
@@ -68,4 +68,13 @@ import java.lang.annotation.Target;
@Target({TYPE, FIELD, METHOD})
@Documented
public @interface Extension {
/**
* Used for sorting extensions.
*
* Extensions will be sorted in the descending order of the ordinal.
* This is a rather poor approach to the problem, so its use is generally discouraged.
*
* @since 1.306
*/
double ordinal() default 0;
}