aeron-agent/src/main/java/io/aeron/agent/EventConfiguration.java
static Set<ArchiveEventCode> getEnabledArchiveEventCodes(final String enabledArchiveEventCodes)
    {
        if (null == enabledArchiveEventCodes || "".equals(enabledArchiveEventCodes))
        {
            return EnumSet.noneOf(ArchiveEventCode.class);
        }

        final Function<Integer, ArchiveEventCode> eventCodeById = ArchiveEventCode::get;
        final Function<String, ArchiveEventCode> eventCodeByName = ArchiveEventCode::valueOf;
        final EnumSet<ArchiveEventCode> allEventsSet = EnumSet.allOf(ArchiveEventCode.class);

        return parseEventCodes(enabledArchiveEventCodes, eventCodeById, eventCodeByName, allEventsSet);
    }
static Set<ArchiveEventCode> getEnabledArchiveEventCodes(final String enabledArchiveEventCodes)
    {
        if (null == enabledArchiveEventCodes || "".equals(enabledArchiveEventCodes))
        {
            return EnumSet.noneOf(ArchiveEventCode.class);
        }

        final Function<Integer, ArchiveEventCode> eventCodeById = ArchiveEventCode::get;
        final Function<String, ArchiveEventCode> eventCodeByName = ArchiveEventCode::valueOf;
        final EnumSet<ArchiveEventCode> allEventsSet = EnumSet.allOf(ArchiveEventCode.class);

        return parseEventCodes(enabledArchiveEventCodes, eventCodeById, eventCodeByName, allEventsSet);
    }
static Set < ArchiveEventCode > getEnabledArchiveEventCodes ( final String enabledArchiveEventCodes ) { if ( null == enabledArchiveEventCodes || "" . equals ( enabledArchiveEventCodes ) ) { return EnumSet . noneOf ( ArchiveEventCode . class ) ; } final Function < Integer , ArchiveEventCode > eventCodeById = ArchiveEventCode :: get ; final Function < String , ArchiveEventCode > eventCodeByName = ArchiveEventCode :: valueOf ; final EnumSet < ArchiveEventCode > allEventsSet = EnumSet . allOf ( ArchiveEventCode . class ) ; return parseEventCodes ( enabledArchiveEventCodes , eventCodeById , eventCodeByName , allEventsSet ) ; }
Get the {@link Set} of {@link ArchiveEventCode}s that are enabled for the logger.

@param enabledArchiveEventCodes that can be "all" or a comma separated list of Event Code ids or names.
@return the {@link Set} of {@link ArchiveEventCode}s that are enabled for the logger.
Get the { @link Set } of { @link ArchiveEventCode } s that are enabled for the logger .