what is the use priority over load method?

Splash Forums Rewrite Users what is the use priority over load method?

This topic contains 1 reply, has 2 voices, and was last updated by  Christian Kaltepoth 2 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25998

    ravindra
    Participant

    Hi,

    What is the use of following code , we are configure this code in prettyconfigurationprovider

    @Override
    public int priority() {
    return 10;
    }

    Thanks
    Ravindra

    #25999

    This specifies the default priority of all rules created with the configuration provider. The rule priority is used to order the rules before they are evaluated. In most cases you won’t need to change the priority. Especially if you have only a single configuration provider. But in in some special cases you may need more control over rule ordering.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.