org.tools4j.groovytables.CallPrecursor.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of groovy-tables Show documentation
Show all versions of groovy-tables Show documentation
A groovy API which allows you to create lists of objects using a table like grammar.
package org.tools4j.groovytables
/**
* User: ben
* Date: 16/02/2016
* Time: 5:23 PM
*/
trait CallPrecursor {
abstract Suitability getSuitability()
abstract T executeMethod();
boolean isMoreSuitableThan(final CallPrecursor other) {
return suitability.isMoreSuitableThan(other.suitability)
}
}