Verified Owner
Top Fields Constructors Methods
org.jabref.logic.importer.fetcher.citation

public final Enum CitationFetcherType

extends Enum<CitationFetcherType>
Class Inheritance
Imports
org.jabref.logic.ai.chatting.ChatModel, org.jabref.logic.ai.preferences.AiPreferences, org.jabref.logic.citationkeypattern.CitationKeyPatternPreferences, org.jabref.logic.importer.ImportFormatPreferences, .ImporterPreferences, org.jabref.logic.importer.fetcher.OpenAlex, org.jabref.logic.importer.fetcher.citation.crossref.CrossRefCitationFetcher, org.jabref.logic.importer.fetcher.citation.opencitations.OpenCitationsFetcher, org.jabref.logic.importer.fetcher.citation.semanticscholar.SemanticScholarCitationFetcher, org.jabref.logic.importer.util.GrobidPreferences

Field Summary

Modifier and TypeField and Description
public static final CitationFetcherType
public static final CitationFetcherType
private final String
public static final CitationFetcherType
public static final CitationFetcherType
public static final CitationFetcherType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static CitationFetcher
getCitationFetcher(CitationFetcherType citationFetcherName, ImporterPreferences importerPreferences, ImportFormatPreferences importFormatPreferences, CitationKeyPatternPreferences citationKeyPatternPreferences, GrobidPreferences grobidPreferences, AiPreferences aiPreferences, ChatModel chatModel)

public String
public static CitationFetcherType
safeValueOf(String name)

Parses a constant by name, falling back to SEMANTIC_SCHOLAR for unknown/corrupted values.

public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.

public static CitationFetcherType
public static CitationFetcherType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

ALLback to summary
public static final CitationFetcherType ALL
CROSSREFback to summary
public static final CitationFetcherType CROSSREF
nameback to summary
private final String name

Hides java.lang.Enum.name.

OPEN_ALEXback to summary
public static final CitationFetcherType OPEN_ALEX
OPEN_CITATIONSback to summary
public static final CitationFetcherType OPEN_CITATIONS
SEMANTIC_SCHOLARback to summary
public static final CitationFetcherType SEMANTIC_SCHOLAR

Constructor Detail

CitationFetcherTypeback to summary
private CitationFetcherType(String name)

Method Detail

getCitationFetcherback to summary
public static CitationFetcher getCitationFetcher(CitationFetcherType citationFetcherName, ImporterPreferences importerPreferences, ImportFormatPreferences importFormatPreferences, CitationKeyPatternPreferences citationKeyPatternPreferences, GrobidPreferences grobidPreferences, AiPreferences aiPreferences, ChatModel chatModel)
getNameback to summary
public String getName()
safeValueOfback to summary
public static CitationFetcherType safeValueOf(String name)

Parses a constant by name, falling back to SEMANTIC_SCHOLAR for unknown/corrupted values.

toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Annotations
@Override
valueOfback to summary
public static CitationFetcherType valueOf(String name)
valuesback to summary
public static CitationFetcherType[] values()