Groovy Documentation

nu.studer.gradle.util
[Groovy] Class Closures

java.lang.Object
  nu.studer.gradle.util.Closures

final class Closures

Utility class related to Groovy Closures.


Method Summary
static java.lang.String resolveAsString(java.lang.Object propertyValue)

Returns the given value as a string.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

resolveAsString

static java.lang.String resolveAsString(java.lang.Object propertyValue)
Returns the given value as a string. The string value can also be the result of (recursively) calling a given closure.
Parameters:
propertyValue - the property value to convert
propertyName - the name of the property
Returns:
the property value resolved as a string


 

Groovy Documentation