Verified Owner
Top Inners Fields Constructors Methods
org.jabref.logic.ai.summarization.listeners

public Class GenerateSummaryAiDatabaseListener

extends Object
implements AiDatabaseListener
Class Inheritance
All Implemented Interfaces
org.jabref.logic.ai.AiDatabaseListener, java.lang.AutoCloseable
Imports
javafx.beans.property.ObjectProperty, .SimpleObjectProperty, org.jabref.logic.FilePreferences, org.jabref.logic.ai.AiDatabaseListener, org.jabref.logic.ai.chatting.ChatModel, org.jabref.logic.ai.chatting.util.ChatModelFactory, org.jabref.logic.ai.preferences.AiPreferences, org.jabref.logic.ai.summarization.SummarizationTaskAggregator, org.jabref.logic.ai.summarization.logic.summarizationalgorithms.Summarizator, org.jabref.logic.ai.summarization.tasks.GenerateSummaryTaskRequest, org.jabref.logic.ai.summarization.util.SummarizatorFactory, org.jabref.logic.util.ObservablesHelper, org.jabref.model.ai.identifiers.FullBibEntry, org.jabref.model.database.BibDatabaseContext, org.jabref.model.database.event.EntriesAddedEvent, org.jabref.model.entry.event.FieldChangedEvent, org.jabref.model.entry.field.StandardField, com.google.common.eventbus.Subscribe

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private final AiPreferences
private final ObjectProperty<ChatModel>
private final FilePreferences
private final SummarizationTaskAggregator
private final ObjectProperty<Summarizator>

Constructor Summary

AccessConstructor and Description
public
GenerateSummaryAiDatabaseListener(AiPreferences aiPreferences, FilePreferences filePreferences, SummarizationTaskAggregator summarizationTaskAggregator)

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.

private void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aiPreferencesback to summary
private final AiPreferences aiPreferences
chatModelback to summary
private final ObjectProperty<ChatModel> chatModel
filePreferencesback to summary
private final FilePreferences filePreferences
summarizationTaskAggregatorback to summary
private final SummarizationTaskAggregator summarizationTaskAggregator
summarizatorback to summary
private final ObjectProperty<Summarizator> summarizator

Constructor Detail

GenerateSummaryAiDatabaseListenerback to summary
public GenerateSummaryAiDatabaseListener(AiPreferences aiPreferences, FilePreferences filePreferences, SummarizationTaskAggregator summarizationTaskAggregator)

Method Detail

closeback to summary
public void close() throws Exception

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
Exceptions
Exception:
if this resource cannot be closed
setupBindingsback to summary
private void setupBindings()
setupDatabaseback to summary
public void setupDatabase(BibDatabaseContext context)

Implements org.jabref.logic.ai.AiDatabaseListener.setupDatabase.

Annotations
@Override
org.jabref.logic.ai.summarization.listeners back to summary

private Class GenerateSummaryAiDatabaseListener.EntriesChangedListener

extends Object
Class Inheritance
  • java.lang.Object
  • org.jabref.logic.ai.summarization.listeners.GenerateSummaryAiDatabaseListener.EntriesChangedListener

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextback to summary
private final BibDatabaseContext context

Constructor Detail

EntriesChangedListenerback to summary
public EntriesChangedListener(BibDatabaseContext context)

Method Detail

listenback to summary
public void listen(EntriesAddedEvent event)
Annotations
@Subscribe
listenback to summary
public void listen(FieldChangedEvent event)
Annotations
@Subscribe