Class: Nexpose::ReportSchedule

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose.rb

Overview

Description

Object that represents the schedule on which to automatically generate new reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, interval, start) ⇒ ReportSchedule

Returns a new instance of ReportSchedule.



2742
2743
2744
2745
2746
2747
2748
# File 'lib/nexpose.rb', line 2742

def initialize(type, interval, start)

	@type = type
	@interval = interval
	@start = start

end

Instance Attribute Details

#intervalObject (readonly)

The frequency with which to run the scan



2738
2739
2740
# File 'lib/nexpose.rb', line 2738

def interval
  @interval
end

#startObject (readonly)

The earliest date to generate the report



2740
2741
2742
# File 'lib/nexpose.rb', line 2740

def start
  @start
end

#typeObject (readonly)

The type of schedule (daily, hourly, monthly, weekly)



2736
2737
2738
# File 'lib/nexpose.rb', line 2736

def type
  @type
end