Verified Owner
Top Description Fields Constructors Methods
org.jabref.model.metadata.event

public final Enum MetaDataChangeSource

extends Enum<MetaDataChangeSource>
Class Inheritance

Where a metadata change came from, travelling with MetaDataChangedEvent the way org.jabref.model.entry.event.EntriesEventSource travels with an entry change.

A listener that derives the modified marker has to tell the two apart: a change the undo journal recorded is described by a step, so undoing it brings the library back and the marker has to clear again, while a change nobody recorded can only be taken back by saying so.

Field Summary

Modifier and TypeField and Description
public static final MetaDataChangeSource
JOURNAL

The undo journal is behind this change: a command recorded it, or it is an undo or a redo applying a step.

public static final MetaDataChangeSource
LOCAL

Nobody recorded this change.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static MetaDataChangeSource
public static MetaDataChangeSource[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

JOURNALback to summary
public static final MetaDataChangeSource JOURNAL

The undo journal is behind this change: a command recorded it, or it is an undo or a redo applying a step.

LOCALback to summary
public static final MetaDataChangeSource LOCAL

Nobody recorded this change. The default, so that a writer that says nothing is treated as unrecorded — the safe answer, since it costs an asterisk rather than the user's work.

Constructor Detail

MetaDataChangeSourceback to summary
private MetaDataChangeSource()

Method Detail

valueOfback to summary
public static MetaDataChangeSource valueOf(String name)
valuesback to summary
public static MetaDataChangeSource[] values()