Annotation Type DraftReset


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface DraftReset
    Marks a property on a @Draftable bean that is set to null on the 'draft bean' on publish.

    This is expected to be put on properties that get 'reset' or 'cleared' after a publish. These properties might represent a publish comment or publish timestamp.