Class SolutionInterfaceImpl

    • Constructor Detail

      • SolutionInterfaceImpl

        public SolutionInterfaceImpl()
      • SolutionInterfaceImpl

        public SolutionInterfaceImpl​(java.lang.Object data)
    • Method Detail

      • getExposedAssemblyLines

        public ContainerConfig getExposedAssemblyLines()
        Description copied from interface: SolutionInterface
        Returns a container of assemblyline names that are exposed by this solution. Each child of the list is a BaseConfiguration object where the name is set to that of the assemblyline. The BaseConfiguration object for each assemblyline can be used to hold additional custom information about each AL.
        Specified by:
        getExposedAssemblyLines in interface SolutionInterface
        Returns:
        ContainerConfig of assemblyline names (String values)
      • addExposedAssemblyLine

        public BaseConfiguration addExposedAssemblyLine​(java.lang.String name)
                                                 throws java.lang.Exception
        Description copied from interface: SolutionInterface
        Convenience method to create a BaseConfiguration object in the exposed assemblylines container. Use getExposedAssemblyLines().getConfig()/removeConfig() etc to manipulate contents. If an assemblyline with that name is already defined the current configuration is returned.
        Specified by:
        addExposedAssemblyLine in interface SolutionInterface
        Parameters:
        name - Name of the AL to expose
        Returns:
        The new/current configuration
        Throws:
        java.lang.Exception
      • getExposedProperty

        public ExposedProperty getExposedProperty​(java.lang.String propertyName,
                                                  java.lang.String storeName)
        Description copied from interface: SolutionInterface
        Returns the ExposedProperty object using name and storename
        Specified by:
        getExposedProperty in interface SolutionInterface
        Parameters:
        propertyName - The propery name.
        storeName - The store name.
        Returns:
        Returns the ExposedProperty object using name and store name.
      • addExposedProperty

        public ExposedProperty addExposedProperty​(java.lang.String propertyName,
                                                  java.lang.String storeName)
        Description copied from interface: SolutionInterface
        Convenience method to create an ExposedProperty object in the exposed properties container. Use getExposedProperties().getConfig()/removeConfig() etc to manipulate contents. If a property with that name/storename is already defined the current configuration is returned. When creating a new ExposedProperty object the concatenation of "propertyName.propertyStore" is used to generate a unique name for the object.
        Specified by:
        addExposedProperty in interface SolutionInterface
        Parameters:
        propertyName - Name of the AL to expose.
        storeName - Name of the store.
        Returns:
        The new/current configuration
      • getHealthAssemblyLine

        public java.lang.String getHealthAssemblyLine()
        Description copied from interface: SolutionInterface
        Returns the name of the health assemblyline. The return value is null if no assemblyline is configured.
        Specified by:
        getHealthAssemblyLine in interface SolutionInterface
        Returns:
        The name of the Health assemblyline
      • setHealthAssemblyLine

        public void setHealthAssemblyLine​(java.lang.String name)
        Description copied from interface: SolutionInterface
        Sets the name of the health assemblyline for this configuration (null or empty string to clear).
        Specified by:
        setHealthAssemblyLine in interface SolutionInterface
        Parameters:
        name - The name of the Health assemblyline (using empty string will translate to null value).
      • getPropertyCategoryNames

        public java.util.List<java.lang.String> getPropertyCategoryNames()
        Description copied from interface: SolutionInterface
        Convenience method that returns a list of unique category names found in the exposed properties container.
        Specified by:
        getPropertyCategoryNames in interface SolutionInterface
        Returns:
        List of category names (String values)
      • getPropertyStoreNames

        public java.util.List<java.lang.String> getPropertyStoreNames()
        Description copied from interface: SolutionInterface
        Convenience method that returns a list of unique store names found in the exposed properties container.
        Specified by:
        getPropertyStoreNames in interface SolutionInterface
        Returns:
        List of store names (String values)
      • getInstanceID

        public java.lang.String getInstanceID()
        Description copied from interface: SolutionInterface
        Returns the instance ID for this configuration or null if none is defined.
        Specified by:
        getInstanceID in interface SolutionInterface
      • setInstanceID

        public void setInstanceID​(java.lang.String id)
        Description copied from interface: SolutionInterface
        Sets the instance ID for this configuration or null if none is defined.
        Specified by:
        setInstanceID in interface SolutionInterface
        Parameters:
        id - The config instance id or null
      • getHealthPollInterval

        public int getHealthPollInterval()
        Description copied from interface: SolutionInterface
        Returns the poll interval for the health assemblyline.
        Specified by:
        getHealthPollInterval in interface SolutionInterface
        Returns:
        The poll interval seconds or -1 if not configured
      • setHealthPollInterval

        public void setHealthPollInterval​(int seconds)
        Description copied from interface: SolutionInterface
        Sets the poll interval for the health assemblyline.
        Specified by:
        setHealthPollInterval in interface SolutionInterface
        Parameters:
        seconds - The poll interval in seconds