public StateConfiguration < S , T > permitIf ( T trigger , S destinationState , FuncBoolean guard ) { enforceNotIdentityTransition ( destinationState ) ; return publicPermitIf ( trigger , destinationState , guard ) ; }
Accept the specified trigger and transition to the destination state if guard is true