src/main/java/org/intellimate/izou/sdk/contentgenerator/ContentGenerator.java
@Override
    public List<ResourceModel> provideResource(List<? extends ResourceModel> list, Optional<EventModel> optional) {
        //TODO: check arguments and return type here! Missing ID etc. Fail fast!
        return new ArrayList<>(triggered(list, optional));
    }
@Override
    public List<ResourceModel> provideResource(List<? extends ResourceModel> list, Optional<EventModel> optional) {
        //TODO: check arguments and return type here! Missing ID etc. Fail fast!
        return new ArrayList<>(triggered(list, optional));
    }
@ Override public List < ResourceModel > provideResource ( List < ? extends ResourceModel > list , Optional < EventModel > optional ) { //TODO: check arguments and return type here! Missing ID etc. Fail fast! return new ArrayList <> ( triggered ( list , optional ) ) ; }
this method is called when an object wants to get a Resource.
<p>
Don't use the Resources provided as arguments, they are just the requests.
There is a timeout after 1 second.
</p>
@param list a list of resources without data
@param optional     if an event caused the action, it gets passed. It can also be null.
@return a list of resources with data
this method is called when an object wants to get a Resource . <p > Don t use the Resources provided as arguments they are just the requests . There is a timeout after 1 second . < / p >