Groovy Documentation

org.linkedin.glu.groovy.utils
[Groovy] Class GluGroovyLangUtils

java.lang.Object
  org.linkedin.groovy.util.lang.GroovyLangUtils
      org.linkedin.glu.groovy.utils.GluGroovyLangUtils

class GluGroovyLangUtils
extends GroovyLangUtils

Authors:
yan@pongasoft.com


Method Summary
static boolean getOptionalBoolean(java.lang.Object value, boolean defaultValue)

static java.lang.Object noException(java.util.Collection closures)

Call all the closures and make sure none of it throws an exception.

 

Method Detail

getOptionalBoolean

static boolean getOptionalBoolean(java.lang.Object value, boolean defaultValue)


noException

static java.lang.Object noException(java.util.Collection closures)
Call all the closures and make sure none of it throws an exception. This method itself does not throws exception. The value returned by the last closure in the collection will be returned


 

Groovy Documentation