Class LauncherConfig

  • All Implemented Interfaces:
    org.apache.sling.feature.io.artifacts.spi.ArtifactProviderContext

    public class LauncherConfig
    extends org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
    implements org.apache.sling.feature.io.artifacts.spi.ArtifactProviderContext
    This class holds the configuration of the launcher.
    • Constructor Detail

      • LauncherConfig

        public LauncherConfig()
        Create a new configuration object. Set the default values
    • Method Detail

      • getArtifactClashOverrides

        public List<org.apache.sling.feature.ArtifactId> getArtifactClashOverrides()
      • getConfigClashOverrides

        public Map<String,​String> getConfigClashOverrides()
      • addFeatureFiles

        public void addFeatureFiles​(String... featureFiles)
        Set the list of feature files or directories.
        Parameters:
        featureFiles - The array with the feature file names.
      • getFeatureFiles

        public Collection<String> getFeatureFiles()
        Get the list of feature files.
        Returns:
        The array of names.
      • getHomeDirectory

        public File getHomeDirectory()
        Get the home directory.
        Returns:
        The home directory.
      • setHomeDirectory

        public void setHomeDirectory​(File file)
      • getFrameworkVersion

        public String getFrameworkVersion()
      • setFrameworkVersion

        public void setFrameworkVersion​(String frameworkVersion)
      • getFrameworkArtifact

        public String getFrameworkArtifact()
      • setFrameworkArtifact

        public void setFrameworkArtifact​(String frameworkArtifact)