Class VariantDdnPath

  • All Implemented Interfaces:
    Variant

    public class VariantDdnPath
    extends java.lang.Object
    implements Variant
    Variant class used for URL path elements that are defined as Data Driven Nodes. For a URL like: http://www.example.com/aaa/bbb/ccc?ddd=eee&fff=ggg parameter position aaa 1 bbb 2 ccc 3 Given: https://www.example.com/en-US/container/item/itemA https://www.example.com/en-US/container/item/itemB Defined as: https://www.example.com/en-US/container/item/<<DDN1>> Test/inject <<DDN1>>
    • Constructor Detail

      • VariantDdnPath

        public VariantDdnPath()
    • Method Detail

      • getShortName

        public java.lang.String getShortName()
        Description copied from interface: Variant
        Gets a short name of the Variant
        Specified by:
        getShortName in interface Variant
        Returns:
        a String the short name of the variant
      • getParamList

        public java.util.List<NameValuePair> getParamList()
        Description copied from interface: Variant
        Gets the list of parameters handled by this variant.
        Specified by:
        getParamList in interface Variant
        Returns:
        a List containing the parameters