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.6 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.5 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.4 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.3 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.2 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.1 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.rc6 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.rc5 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.rc4 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.rc3 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.rc2 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.rc1 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.22 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.21 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.10 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.20 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.9 lib/ddr/events/virus_check_event.rb
ddr-models-3.0.0.beta.18 lib/ddr/events/virus_check_event.rb
ddr-models-2.4.8 lib/ddr/events/virus_check_event.rb