Class VariantInitTask.InitResult

java.lang.Object
org.variantsync.boosting.product.VariantInitTask.InitResult
Enclosing class:
VariantInitTask

public static class VariantInitTask.InitResult extends Object
Represents the result of initializing a product. Contains the ID of the initialization, a set of all features, and the product associated with the initialization.
  • Field Details

    • id

      public final int id
      The ID of the initialization.
    • allFeatures

      public final CustomHashSet<Feature> allFeatures
      A set of all features associated with the initialization.
    • variant

      public final Variant variant
      The product associated with the initialization.
  • Constructor Details

    • InitResult

      public InitResult(int id, CustomHashSet<Feature> allFeatures, Variant variant)
      Constructs a new InitResult with the specified ID, set of all features, and product.
      Parameters:
      id - The ID of the initialization.
      allFeatures - A set of all features associated with the initialization.
      variant - The product associated with the initialization.