Skip to content

Latest commit

 

History

History

sample-plugin-policy-jar

Folders and files

Sample plugin policy project

This a sample project to demonstrate how to create a custom policy for Caupain.

It shows the steps needed to create a custom policy plugin:

  • Create a class that implements the Policy interface (see ExamplePolicy)
  • Create a META-INF/services/com.deezer.caupain.model.Policy file containing the fully qualified name of your class (see here)
  • Package it as a JAR file