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

public final Enum CitationCountFetcherType

extends Enum<CitationCountFetcherType>
Class Inheritance
Imports
org.jabref.logic.importer.ImporterPreferences, org.jabref.logic.importer.fetcher.OpenAlex, .SciteAiFetcher, org.jabref.logic.importer.fetcher.citation.opencitations.OpenCitationsFetcher, org.jabref.logic.importer.fetcher.citation.semanticscholar.SemanticScholarCitationFetcher

Field Summary

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static CitationCountFetcher
public String
public static CitationCountFetcherType
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 CitationCountFetcherType
public static CitationCountFetcherType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

nameback to summary
private final String name

Hides java.lang.Enum.name.

OPEN_ALEXback to summary
public static final CitationCountFetcherType OPEN_ALEX
OPEN_CITATIONSback to summary
public static final CitationCountFetcherType OPEN_CITATIONS
SCITE_AIback to summary
public static final CitationCountFetcherType SCITE_AI
SEMANTIC_SCHOLARback to summary
public static final CitationCountFetcherType SEMANTIC_SCHOLAR

Constructor Detail

CitationCountFetcherTypeback to summary
private CitationCountFetcherType(String name)

Method Detail

getCitationCountFetcherback to summary
public static CitationCountFetcher getCitationCountFetcher(CitationCountFetcherType type, ImporterPreferences importerPreferences)
getNameback to summary
public String getName()
safeValueOfback to summary
public static CitationCountFetcherType 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 CitationCountFetcherType valueOf(String name)
valuesback to summary
public static CitationCountFetcherType[] values()