Returns the list of events defined for given event type.

@param _eventType event type
@return list of events for the given event type
489169
public List<EventDefinition> getEvents(final EventType _eventType)
    {
        if (!this.eventChecked) {
            this.eventChecked = true;
            try {
                EventDefinition.addEvents(this);
            } catch (final EFapsException e) {
                AbstractAdminObject.LOG.error("Could not read events for Name:; {}', UUID: {}",  this.name, this.uuid);
            }
        }
        return this.events.get(_eventType);
    }
306056
def get_events(self):
        
        res = copy.copy(self.events)
        del self.events[:]
        return res
1234283
public function findEventTypes()
    {
        $xmlQuery = $this->metaApiService->getEventTypes();

        $types = new Types();

        $mapper = new \RGU\Dvoconnector\Mapper\EventTypes($xmlQuery);
        $mapper->mapToAbstractEntity($types);

        return $types;
    }
880137
private List<Event> filterEvents(List<Event> events) {
        List<Event> filteredEvents = new ArrayList<Event>();
        for (Event event : events) {
            if (!filter(event)) {
                filteredEvents.add(event);
            }
        }
        return filteredEvents;
    }
92221
public Webhook addEventTypes(final String eventType) {
		if (this.eventTypes == null) {
			this.eventTypes = new ArrayList<String>();
		}
		this.eventTypes.add(eventType);
		return this;
	}
367611
public FSArray getEvents() {
    if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
      jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events)));}
1192080
def event_type(self, event_type):
        
        if event_type is not None and len(event_type) > 100:
            raise ValueError("Invalid value for `event_type`, length must be less than or equal to `100`")

        self._event_type = event_type
1064367
def GetEventTypeString(self, event_type):
    
    if 0 <= event_type < len(self._EVENT_TYPES):
      return self._EVENT_TYPES[event_type]
    return 'Unknown {0:d}'.format(event_type)
1179334
def GetEventTags(self):
    
    for event_tag in self._GetAttributeContainers(
        self._CONTAINER_TYPE_EVENT_TAG):
      event_identifier = identifiers.SQLTableIdentifier(
          self._CONTAINER_TYPE_EVENT, event_tag.event_row_identifier)
      event_tag.SetEventIdentifier(event_identifier)

      del event_tag.event_row_identifier

      yield event_tag
136331
private function getDatabaseStructureEvents()
    {
        // Listing all events from database
        if ($this->dumpSettings['events']) {
            foreach ($this->dbHandler->query($this->typeAdapter->show_events($this->dbName)) as $row) {
                array_push($this->events, $row['event_name']);
            }
        }
        return;
    }
1325744
public static TraceEvent getType(List<TraceEvent> events, int... types)
   {
      return getType(events, null, types);
   }
980021
def _event_func_names(self, event: str) -> List[str]:
        
        return [func.__name__ for func in self._events[event]]
910202
public java.util.List<String> getEventCategories() {
        if (eventCategories == null) {
            eventCategories = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return eventCategories;
    }
1225726
def libvlc_event_type_name(event_type):
    '''
    '''
    f = _Cfunctions.get('libvlc_event_type_name', None) or \
        _Cfunction('libvlc_event_type_name', ((1,),), None,
                    ctypes.c_char_p, ctypes.c_uint)
    return f(event_type)
1317589
def get_all_events(self):
        
        self.all_events = {}
        events = self.tree.findall('EVENT')
        events += self.tree.findall('CC')
        for e in events:
            event_id = e.attrib['id']
            if event_id in self._static_events:
                continue
            event_type = e.find('type').text
            try:
                self.all_events[event_type].append(event_id)
            except KeyError:
                self.all_events[event_type] = [event_id]
184950
def get_listeners(self, event_type: str) -> List[Callable]:
        """"""
        if event_type not in self.events:
            raise ValueError(f'No event {event_type} in system.')
        return self.events.get_listeners(event_type)
71335
<T extends EventListener> ArrayList<EventListener> getListeners(Class<T> type) {
        ArrayList<EventListener>    listeners = new ArrayList<EventListener>();
        for (TangoListener tangoListener : tangoListeners) {
            if (tangoListener.type==type) {
                listeners.add(tangoListener.listener);
            }
        }
        return listeners;
    }