Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 386 Bytes
require "java"
require "rubygems"
class Echo < com.vamosa.tasks.ParameterisedTask
def usage()
requiresContentDescriptor("contentDescriptor", "the default content descriptor")
requiresContent("content", "the default content")
end
def enhance( contentDescriptor, content )
puts "Echoing: #{contentDescriptor}"
$logger.info "Echoing: #{contentDescriptor}"
end
end