Class LauncherConfig
- java.lang.Object
-
- org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
- org.apache.sling.feature.launcher.impl.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.ArtifactProviderContextThis class holds the configuration of the launcher.
-
-
Constructor Summary
Constructors Constructor Description LauncherConfig()Create a new configuration object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFeatureFiles(String... featureFiles)Set the list of feature files or directories.List<org.apache.sling.feature.ArtifactId>getArtifactClashOverrides()Map<String,String>getConfigClashOverrides()Map<String,Map<String,String>>getExtensionConfiguration()Collection<String>getFeatureFiles()Get the list of feature files.StringgetFrameworkArtifact()StringgetFrameworkVersion()FilegetHomeDirectory()Get the home directory.InstallationgetInstallation()Map<String,String>getVariables()voidsetFrameworkArtifact(String frameworkArtifact)voidsetFrameworkVersion(String frameworkVersion)voidsetHomeDirectory(File file)-
Methods inherited from class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
getCachedArtifacts, getCacheDirectory, getDownloadedArtifacts, getLocalArtifacts, getRepositoryUrls, incCachedArtifacts, incDownloadedArtifacts, incLocalArtifacts, isUseMvn, setCacheDirectory, setRepositoryUrls, setUseMvn
-
-
-
-
Method Detail
-
getArtifactClashOverrides
public List<org.apache.sling.feature.ArtifactId> getArtifactClashOverrides()
-
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)
-
getInstallation
public Installation getInstallation()
-
getFrameworkVersion
public String getFrameworkVersion()
-
setFrameworkVersion
public void setFrameworkVersion(String frameworkVersion)
-
getFrameworkArtifact
public String getFrameworkArtifact()
-
setFrameworkArtifact
public void setFrameworkArtifact(String frameworkArtifact)
-
-