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-3.0.0.beta.17 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.16 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.15 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.14 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.13 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.12 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.11 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.7 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.6 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.5 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.10 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.9 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.8 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.7 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.4 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.6 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.3 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.2 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.4 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.1 lib/ddr/events/virus_check_event.rb