Class ComponentBasedTask

    • Constructor Detail

      • ComponentBasedTask

        public ComponentBasedTask()
    • Method Detail

      • addComponent

        public void addComponent​(SleeComponentElement component)

        Add a SleeComponentElement, called by ant

        Parameters:
        component -
      • findComponent

        public ComponentID findComponent​(String concatenatedName,
                                         ComponentID[] components)
                                  throws Exception

        Find a matching component from an array of deployed components by comparing a Rhino concatenated string component name with one generated from the components ComponentDescriptor.

        Parameters:
        concatenatedName - the Rhino concatenated name (name, version, vendor)
        components - array of components to search
        Returns:
        matching ComponentID, or null if not found
        Throws:
        Exception