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.



2613
2614
2615
2616
2617
2618
2619
# File 'lib/nexpose.rb', line 2613

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



2609
2610
2611
# File 'lib/nexpose.rb', line 2609

def interval
  @interval
end

#startObject (readonly)

The earliest date to generate the report



2611
2612
2613
# File 'lib/nexpose.rb', line 2611

def start
  @start
end

#typeObject (readonly)

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



2607
2608
2609
# File 'lib/nexpose.rb', line 2607

def type
  @type
end