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.11.0 lib/ddr/events/virus_check_event.rb
ddr-models-2.10.2 lib/ddr/events/virus_check_event.rb
ddr-models-2.10.1 lib/ddr/events/virus_check_event.rb
ddr-models-2.10.0 lib/ddr/events/virus_check_event.rb
ddr-models-2.10.0.rc2 lib/ddr/events/virus_check_event.rb
ddr-models-2.10.0.rc1 lib/ddr/events/virus_check_event.rb
ddr-models-2.9.2 lib/ddr/events/virus_check_event.rb
ddr-models-2.9.1 lib/ddr/events/virus_check_event.rb
ddr-models-2.9.0 lib/ddr/events/virus_check_event.rb
ddr-models-2.9.0.rc1 lib/ddr/events/virus_check_event.rb
ddr-models-2.8.0 lib/ddr/events/virus_check_event.rb
ddr-models-2.8.0.rc1 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.6 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.5 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.4 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.3 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.2 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.1 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.0 lib/ddr/events/virus_check_event.rb
ddr-models-2.7.0.rc1 lib/ddr/events/virus_check_event.rb