Class ConfiguredComponent

    • Field Detail

      • ADMIN_ONLY

        public static final String ADMIN_ONLY
        "adminOnly" magic prefix for "admin only" config attributes.
        See Also:
        Constant Field Values
      • classesExcludedFromPushing

        public static final List<String> classesExcludedFromPushing
    • Constructor Detail

      • ConfiguredComponent

        public ConfiguredComponent()
    • Method Detail

      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getReaders

        public Set<String> getReaders()
      • setReaders

        public void setReaders​(Set<String> readers)
      • getClassName

        public String getClassName()
      • setClassName

        public void setClassName​(String className)
      • getConfig

        public String getConfig()
      • setConfig

        public void setConfig​(String config)
      • setApplication

        public void setApplication​(Application application)
      • toJSON

        @Deprecated
        public org.json.JSONObject toJSON()
                                   throws org.json.JSONException
        Deprecated.
        Returns:
        a JSON representation of this component
        Throws:
        org.json.JSONException - if any
      • toJSON

        public org.json.JSONObject toJSON​(boolean hideAdminOnly)
                                   throws org.json.JSONException
        render a JSON representation of this component.
        Parameters:
        hideAdminOnly - set to true to obtain this component JSON representation without any "admin-only" attributes.
        Returns:
        a JSON representation of this component
        Throws:
        org.json.JSONException - if ant