Class: Buildr::Jetty::JettyTask

Inherits:
Rake::Task
  • Object
show all
Defined in:
lib/java/jetty.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ JettyTask

Returns a new instance of JettyTask.



66
67
68
69
70
71
# File 'lib/java/jetty.rb', line 66

def initialize(*args)
  super
  enhance do |task|
    Jetty.bounce task.options
  end
end

Instance Method Details

#optionsObject



73
74
75
# File 'lib/java/jetty.rb', line 73

def options()
  @options ||= {}
end

#using(options) ⇒ Object



77
78
79
80
# File 'lib/java/jetty.rb', line 77

def using(options)
  self.options.merge!(options)
  self
end