<commit_before>package com.egoshard.service.core.event;

import java.util.UUID;

/**
 * Base event to return a list of Model objects.
 */
public class ReadModelListEvent extends BaseRequestEvent {

  private boolean includeInactive = false;

  /**
   * Constructor to create an event with only executor information.
   *
   * @param executorKey unique identifier for the user requesting access.
   */
  public ReadModelListEvent(final UUID executorKey) {
    super(executorKey);
  }

  /**
   * Constuctor to create an event with an executor and a filter for active state.
   *
   * @param executorKey     unique identifier for the user requesting access.
   * @param includeInactive boolean value indicating if inactive Model objects should ne returned.
   */
  public ReadModelListEvent(final UUID executorKey, final boolean includeInactive) {
    super(executorKey);
    this.includeInactive = includeInactive;
  }

  /**
   * Retrieves the inactive filter setting.
   *
   * @return true if event operation should include inactive Model objects, else false.
   */
  public boolean IncludeInactive() {
    return includeInactive;
  }

}<commit_msg>Updates task #17, fixed code smell issue in new event.<commit_after>package com.egoshard.service.core.event;

import java.util.UUID;

/**
 * Base event to return a list of Model objects.
 */
public class ReadModelListEvent extends BaseRequestEvent {

  private boolean includeInactive = false;

  /**
   * Constructor to create an event with only executor information.
   *
   * @param executorKey unique identifier for the user requesting access.
   */
  public ReadModelListEvent(final UUID executorKey) {
    super(executorKey);
  }

  /**
   * Constuctor to create an event with an executor and a filter for active state.
   *
   * @param executorKey     unique identifier for the user requesting access.
   * @param includeInactive boolean value indicating if inactive Model objects should ne returned.
   */
  public ReadModelListEvent(final UUID executorKey, final boolean includeInactive) {
    super(executorKey);
    this.includeInactive = includeInactive;
  }

  /**
   * Retrieves the inactive filter setting.
   *
   * @return true if event operation should include inactive Model objects, else false.
   */
  public boolean includeInactive() {
    return includeInactive;
  }

}
{'fraction_non_alphanumeric': 0.07127614169867691, 'fraction_numerical': 0.0008536064874093043, 'mean_word_length': 3.5692007797270957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2376197', 'n_tokens_mistral': 647, 'n_tokens_neox': 627, 'n_words': 233}