All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.whimtrip.ext.jwhtscrapper.annotation.HasLink Maven / Gradle / Ivy

The newest version!




package fr.whimtrip.ext.jwhtscrapper.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 

Part of project jwht-scrapper

*

Created on 29/07/18

* *

* This annotation can be applied to any List of child POJO or * child POJO typed field of a parent POJO. *

* *

* It will enable link scanning (through {@link Link} and {@link LinkListsFromBuilder} * annotated fields search) to go one layer deeper in your POJOs arborescence so * that your child POJOs can have their own links and child scrappings. Without * this annotation present on to of the child POJO typed field of the parent POJO, * the child POJO won't be investigated and therefore its links won't be followed. *

* @see Link * @see LinkObject * @author Louis-wht * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD }) public @interface HasLink { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy