Class Setting

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Setting.Type
      Available setting types.
    • Constructor Summary

      Constructors 
      Constructor Description
      Setting​(Setting.Type type, java.lang.String id, java.lang.String name)  
    • Constructor Detail

      • Setting

        public Setting​(Setting.Type type,
                       java.lang.String id,
                       java.lang.String name)
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public Setting setId​(java.lang.String id)
      • getName

        public java.lang.String getName()
        Returns:
        setting name
      • setName

        public Setting setName​(java.lang.String name)
                        throws java.lang.IllegalArgumentException
        Parameters:
        name - setting name
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException
      • getDescription

        public java.lang.String getDescription()
        Returns:
        setting description
      • setDescription

        public Setting setDescription​(java.lang.String description)
        Parameters:
        description - setting description
        Returns:
        this
      • isVisible

        public boolean isVisible()
        Returns:
        true, if the setting is visible to users
      • setIsVisible

        public Setting setIsVisible​(boolean visible)
        Parameters:
        visible - true, if the setting is visible to users
        Returns:
        this