SalesPoint Framework v3.0

Hook: Define New Capability


Requirement

A new type of capability is needed.

Method of Adaptation
Add Feature
Level of Support
Open Ended  
HotSpot
User management
Participants
AbstractCapability, NewCapability , NewCapabilityOn , NewCapabilityOff

Changes

  1. subclass NewCapability of AbstractCapability.
  2. subclass NewCapabilityOn of NewCapability.
  3. subclass NewCapabilityOff of NewCapability.
  4. NewCapabilityOn.isGranted implements AbstractCapability.isGranted returning true .
  5. NewCapabilityOn.getToggled implements AbstractCapability.getToggled returning instance of NewCapabilityOff.
  6. NewCapabilityOff.isGranted implements AbstractCapability.isGranted returning false .
  7. NewCapabilityOff.getToggled implements AbstractCapability.getToggled returning instance of NewCapabilityOn.
  8. new abstract method NewCapability.execute .
  9. NewCapabilityOn.execute implements NewCapability.execute .
  10. NewCapabilityOff.execute implements NewCapability.execute .

Constraints

Comments


SalesPoint Framework v3.0