JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-273  -  Documentation for CustomPolicy needs update for v4
Posted May 23, 2014 - updated May 24, 2014
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Daniel Widdis
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Documentation
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Reproducability
    Not determined
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 4.1.2
Issue description
The documentation page for Creating Custom Policies includes an example which references the version 3 API.

The argument to accepts() is shown as type JPPFSystemInformation, but in v4 the argument should be of type PropertiesCollection.

While updating the page, I'd also suggest elaborating on the statement "must be deployed in the JPPF server classpath" to indicate that it should either be in a .jar or in a directory structure matching its package definition.

Steps to reproduce this issue
1. Enter code example exactly as it is on the website 2. Observer that it doesn't compile because the JPPFSystemInformation class does not exist in the v4 API.

#3
Comment posted by
 lolo4j
May 24, 09:13
Fixed in: