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.



2391
2392
2393
2394
2395
2396
2397
# File 'lib/nexpose.rb', line 2391

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



2387
2388
2389
# File 'lib/nexpose.rb', line 2387

def interval
  @interval
end

#startObject (readonly)

The earliest date to generate the report



2389
2390
2391
# File 'lib/nexpose.rb', line 2389

def start
  @start
end

#typeObject (readonly)

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



2385
2386
2387
# File 'lib/nexpose.rb', line 2385

def type
  @type
end