Uses of Class
it.unipd.dei.eis.core.common.Context
-
-
Uses of Context in it.unipd.dei.eis.core.common
Methods in it.unipd.dei.eis.core.common that return Context Modifier and Type Method Description static ContextContext. fromCommandLine(org.apache.commons.cli.CommandLine cmd)The Context factory constructor. -
Uses of Context in it.unipd.dei.eis.core.utils
Methods in it.unipd.dei.eis.core.utils that return Context Modifier and Type Method Description ContextContextBuilder. build()Builds the context. -
Uses of Context in it.unipd.dei.eis.data.sources
Methods in it.unipd.dei.eis.data.sources with parameters of type Context Modifier and Type Method Description private List<E>DataSource. filter(Context context, List<E> data)Filters the list of data entities by query, from date and to date, if supported.List<E>DataSource. get(Context context)Returns the list of data entities from the data source.(package private) List<CsvDataEntity>CsvDataSource. getData(Context context)Returns the list of entities from the CSV data.(package private) List<E>DataSource. getData(Context context)Returns the list of data entities.List<JsonDataEntity>JsonDataSource. getData(Context context)Returns the list of entities from the JSON data.List<TheGuardianDataEntity>TheGuardianDataSource. getData(Context context)The get method is used to get the data from The Guardian API and deserialize it.voidDataSource. set(Context context, List<E> data)Sets the list of data entities.(package private) voidDataSource. setData(Context context, List<E> data)Sets the list of data entities.voidJsonDataSource. setData(Context context, List<JsonDataEntity> data)Sets the data to the JSON file.(package private) voidTermsDataSource. setData(Context context, List<TermsDataEntity> entities)The set method is used to set the data source. -
Uses of Context in it.unipd.dei.eis.domain.controllers
Methods in it.unipd.dei.eis.domain.controllers with parameters of type Context Modifier and Type Method Description abstract Either<Failure,Success>Controller. execute(Context context)The execute method is used to execute the controller.Either<Failure,Success>DownloadController. execute(Context context)The execute method is used to retrieve data from a source and write them to a file.Either<Failure,Success>TermsExtractorController. execute(Context context)Executes the terms extraction use case. -
Uses of Context in it.unipd.dei.eis.domain.repositories
Methods in it.unipd.dei.eis.domain.repositories with parameters of type Context Modifier and Type Method Description List<M>Repository. pull(Context context)Pulls the models from the data source.(package private) List<M>Repository. pullData(Context context)Pulls the models from the data source.(package private) List<ArticleModel>TermsExtractionRepository. pullData(Context context)Unsupported operation.(package private) List<ArticleModel>TheGuardianRepository. pullData(Context context)Pulls the articles from the data source.voidRepository. push(Context context, List<M> models)Pushes the models to the data source.(package private) voidCsvRepository. pushData(Context context, List<ArticleModel> models)Unsupported operation.(package private) voidRepository. pushData(Context context, List<M> models)Pushes the models to the data source.(package private) voidTheGuardianRepository. pushData(Context context, List<ArticleModel> models)Operation not supported. -
Uses of Context in it.unipd.dei.eis.domain.use_cases
Methods in it.unipd.dei.eis.domain.use_cases with parameters of type Context Modifier and Type Method Description voidUseCase. run(Context context)Executes the use case.
-