public String execute ( ) throws IllegalStateException { validate ( ) ; String [ ] args = buildArgs ( ) ; String result ; if ( think ) { result = Cowsay . think ( args ) ; } else { result = Cowsay . say ( args ) ; } return result ; }
Run cowsay with the provided properties .