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.



2249
2250
2251
2252
2253
2254
2255
# File 'lib/nexpose.rb', line 2249

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



2245
2246
2247
# File 'lib/nexpose.rb', line 2245

def interval
  @interval
end

#startObject (readonly)

The earliest date to generate the report



2247
2248
2249
# File 'lib/nexpose.rb', line 2247

def start
  @start
end

#typeObject (readonly)

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



2243
2244
2245
# File 'lib/nexpose.rb', line 2243

def type
  @type
end