Package com.swrve.sdk

Class SwrveABTestDetails


  • public class SwrveABTestDetails
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SwrveABTestDetails​(java.lang.String id, java.lang.String name, int caseIndex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCaseIndex()  
      java.lang.String getId()  
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SwrveABTestDetails

        protected SwrveABTestDetails​(java.lang.String id,
                                     java.lang.String name,
                                     int caseIndex)
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        the id of the AB Test the user is part of.
      • getName

        public java.lang.String getName()
        Returns:
        the name of the AB Test the user is part of.
      • getCaseIndex

        public int getCaseIndex()
        Returns:
        the index of the AB Test variant the user was assigned to.