public StateConfiguration < S , T > permitIfOtherwiseIgnore ( T trigger , S destinationState , final FuncBoolean guard ) { enforceNotIdentityTransition ( destinationState ) ; ignoreIf ( trigger , new FuncBoolean ( ) { @ Override public boolean call ( ) { return ! guard . call ( ) ; } } ) ; return publicPermitIf ( trigger , destinationState , guard ) ; }
Accept the specified trigger and transition to the destination state if guard true otherwise ignore