For use an Apex Class in a Process Builder, you need to create one method with a this annotation (just one per class):