Sha256: 5c00673416a860d206219c2f1199fc842f0dd729282b7a837b6cfe02c70327d5

Contents?: true

Size: 430 Bytes

Versions: 104

Compression:

Stored size: 430 Bytes

Contents

module Ddr
  module Events
    class VirusCheckEvent < Event

      include PreservationEventBehavior
      include ReindexObjectAfterSave

      self.preservation_event_type = :vir
      self.description = "Content file scanned for viruses"

      def to_solr
        { Ddr::Index::Fields::LAST_VIRUS_CHECK_ON => event_date_time_s,
          Ddr::Index::Fields::LAST_VIRUS_CHECK_OUTCOME => outcome }
      end

    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
ddr-models-2.6.2 lib/ddr/events/virus_check_event.rb
ddr-models-2.6.1 lib/ddr/events/virus_check_event.rb
ddr-models-2.6.0 lib/ddr/events/virus_check_event.rb
ddr-models-2.6.0.rc4 lib/ddr/events/virus_check_event.rb
ddr-models-2.6.0.rc3 lib/ddr/events/virus_check_event.rb
ddr-models-2.6.0.rc2 lib/ddr/events/virus_check_event.rb
ddr-models-2.6.0.rc1 lib/ddr/events/virus_check_event.rb
ddr-models-2.5.3 lib/ddr/events/virus_check_event.rb
ddr-models-2.5.2 lib/ddr/events/virus_check_event.rb
ddr-models-2.5.1 lib/ddr/events/virus_check_event.rb
ddr-models-2.5.0 lib/ddr/events/virus_check_event.rb
ddr-models-2.5.0.rc1 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.16 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.15 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.14 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.13 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.12 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.11 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.8 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.7 lib/ddr/events/virus_check_event.rb