Class: Ddr::Events::VirusCheckEvent
- Includes:
- PreservationEventBehavior, ReindexObjectAfterSave
- Defined in:
- lib/ddr/events/virus_check_event.rb
Constant Summary
Constants included from PreservationEventBehavior
PreservationEventBehavior::EVENT_ID_TYPE, PreservationEventBehavior::LINKING_OBJECT_ID_TYPE
Constants inherited from Event
Event::DATE_TIME_FORMAT, Event::DDR_SOFTWARE, Event::DEFAULT_SORT_ORDER, Event::FAILURE, Event::INVALID, Event::OUTCOMES, Event::SUCCESS, Event::SYSTEM, Event::VALID
Instance Method Summary collapse
Methods included from PreservationEventBehavior
#as_premis, #preservation_event_type, #to_xml
Methods inherited from Event
call, #comment_or_summary, #display_type, #event_date_time_s, #failure!, #failure?, for_object, for_pid, #object, #object=, #performed_by, #pid=, #success!, #success?, #user=
Instance Method Details
#to_solr ⇒ Object
11 12 13 14 |
# File 'lib/ddr/events/virus_check_event.rb', line 11 def to_solr { Ddr::Index::Fields::LAST_VIRUS_CHECK_ON => event_date_time_s, Ddr::Index::Fields::LAST_VIRUS_CHECK_OUTCOME => outcome } end |