Scaffolding

Before you get used to the YAWP! features API, the scaffold plugin can make your life a little bit easier =)

Endpoint

mvn yawp:endpoint -Dmodel=person

This will create the endpoint model Person. It also will create placeholders for its test suite and the security Shield.

Shield

mvn yawp:shield -Dmodel=person

Create a PersonShield if the endpoint model is not already shielded.

Action

mvn yawp:action -Dmodel=person -Dname=activate

Creates a PersonActivateAction custom action for the endpoint model.

Transformer

mvn yawp:transformer -Dmodel=person -Dname=upperCase

Create a PersonUpperCaseTransformer transformer for the endpoint model.

Hook

mvn yawp:hook -Dmodel=person -Dname=setUser

Create a PersonSetUserHook hook for the endpoint model.

Pipe

mvn yawp:pipe -Dmodel=person -Dname=counter -Dsink=personCounter

Create a PersonCounterPipe pipe from the source endpoint model Person to the sink endpoint model PersonCounter.