Class FeatureSet.Builder

  • Enclosing class:
    FeatureSet

    public static final class FeatureSet.Builder
    extends java.lang.Object
    Builder class for FeatureSet.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of FeatureSet.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FeatureSet build()  
      FeatureSet.Builder setFeatureList​(java.util.List<java.lang.String> featureList)
      List of features required for to view widget.
      FeatureSet.Builder setRequireAllPermissions​(java.lang.Boolean requireAllPermissions)
      Flag for specifying if permission to all features is required If set to false, then if there is permission for any of the feature from feature list, widget will be available.
      • Methods inherited from class java.lang.Object

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

      • Builder

        public Builder()
        Constructor with parameters for the required properties of FeatureSet.
    • Method Detail

      • setFeatureList

        public FeatureSet.Builder setFeatureList​(java.util.List<java.lang.String> featureList)
        List of features required for to view widget.
        Parameters:
        featureList - New value for the property.
      • setRequireAllPermissions

        public FeatureSet.Builder setRequireAllPermissions​(java.lang.Boolean requireAllPermissions)
        Flag for specifying if permission to all features is required If set to false, then if there is permission for any of the feature from feature list, widget will be available.
        Parameters:
        requireAllPermissions - New value for the property.