We need to create a new class structure for handling different types of software components. This involves creating a superclass SoftwareComponent and two subclasses TapisSoftwareComponent and WCMSoftwareComponent.
Tasks
-
Create the SoftwareComponent superclass:
- This will serve as the base class for different software components.
-
Create the WCMSoftwareComponent subclass:
- This class will inherit from
SoftwareComponent.
- Add a property
Location which will be an aggregation of all the files needed to execute the component. Typically, this is a zip file that includes the run script, support scripts, and specification files.
-
Create the TapisSoftwareComponent subclass:
- This class will inherit from
SoftwareComponent.
- Add the following properties:
We need to create a new class structure for handling different types of software components. This involves creating a superclass
SoftwareComponentand two subclassesTapisSoftwareComponentandWCMSoftwareComponent.Tasks
Create the
SoftwareComponentsuperclass:Create the
WCMSoftwareComponentsubclass:SoftwareComponent.Locationwhich will be an aggregation of all the files needed to execute the component. Typically, this is a zip file that includes the run script, support scripts, and specification files.Create the
TapisSoftwareComponentsubclass:SoftwareComponent.appVersionappIdtenant