Clean up GadgetSpec / GadgetView / Gadget / ParsedGadget
--------------------------------------------------------

                 Key: SHINDIG-80
                 URL: https://issues.apache.org/jira/browse/SHINDIG-80
             Project: Shindig
          Issue Type: Improvement
          Components: Gadgets Server - Java
            Reporter: Kevin Brown
            Assignee: Kevin Brown
            Priority: Minor


The GadgetSpec / GadgetView / Gadget heirarchy are a bit overwrought and 
difficult to follow at present. I propose simplifying this into a model with 
two classes:

- GadgetSpec: Roll up current GadgetSpec + GadgetView, represent an immutable, 
parsed representation of the gadget state.
- Gadget: Mostly the same as current "Gadget", sans functionality that belongs 
in GadgetSpec. This still represents a fully-processed gadget, including user 
pref values, hangman substitution, etc., but no longer deals with static 
details.

After making these changes, we can clean up the dependent code to always deal 
with appropriate data structures and will no longer have inconsistent 
structures being passed around.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to