src/main/java/org/intellimate/izou/sdk/contentgenerator/ContentGenerator.java
@Override
    public List<? extends EventModel<?>> announceEvents() {
        return getTriggeredEvents().stream()
                .map(EventListener::getEvent)
                .collect(Collectors.toList());
    }
@Override
    public List<? extends EventModel<?>> announceEvents() {
        return getTriggeredEvents().stream()
                .map(EventListener::getEvent)
                .collect(Collectors.toList());
    }
@ Override public List < ? extends EventModel < ? > > announceEvents ( ) { return getTriggeredEvents ( ) . stream ( ) . map ( EventListener :: getEvent ) . collect ( Collectors . toList ( ) ) ; }
this method is called to register for what Events it wants to provide Resources.
<p>
The Event has to be in the following format: It should contain only one Descriptor and and one Resource with the
ID "description", which contains an description of the Event.
</p>
@return a List containing ID's for the Events
this method is called to register for what Events it wants to provide Resources . <p > The Event has to be in the following format : It should contain only one Descriptor and and one Resource with the ID description which contains an description of the Event . < / p >