@ Trivial final String getIdentifier ( String policyExecutorIdentifier ) { return policyExecutorIdentifier . startsWith ( "managed" ) // ? policyExecutorIdentifier // : new StringBuilder ( name . get ( ) ) . append ( " (" ) . append ( policyExecutorIdentifier ) . append ( ' ' ) . toString ( ) ; }
Utility method to compute the identifier to be used in combination with the specified policy executor identifier . We prepend the managed executor name if it isn t already included in the policy executor s identifier .