Package org.wildfly.prospero.galleon
Class GalleonUtils
java.lang.Object
org.wildfly.prospero.galleon.GalleonUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexecuteGalleon(GalleonUtils.GalleonExecution execution, Path localRepository) static org.jboss.galleon.diff.FsDifffindChanges(Path root) Returns list of files in the installation folder with their status (changed/added/removed)getInstalledPacks(Path dir) static org.jboss.galleon.api.config.GalleonProvisioningConfigDeprecated, for removal: This API element is subject to removal in a future version.static org.jboss.galleon.api.config.GalleonProvisioningConfigDeprecated, for removal: This API element is subject to removal in a future version.static org.jboss.galleon.api.GalleonBuildernewGalleonBuilder(org.jboss.galleon.universe.maven.repo.MavenRepoManager maven, Consumer<String> resolvedFps) static org.jboss.galleon.api.ProvisioningnewProvisioning(org.jboss.galleon.api.GalleonBuilder provider, Path installDir, org.jboss.galleon.api.config.GalleonProvisioningConfig config, Path provisioningFile, boolean useDefaultCore) static org.jboss.galleon.api.config.GalleonProvisioningConfig
-
Field Details
-
MAVEN_REPO_LOCAL
- See Also:
-
JBOSS_MODULES_SETTINGS_XML_URL
- See Also:
-
JBOSS_FORK_EMBEDDED_PROPERTY
- See Also:
-
JBOSS_FORK_EMBEDDED_VALUE
- See Also:
-
JBOSS_BULK_RESOLVE_PROPERTY
- See Also:
-
JBOSS_BULK_RESOLVE_VALUE
- See Also:
-
MODULE_PATH_PROPERTY
- See Also:
-
PRINT_ONLY_CONFLICTS_PROPERTY
- See Also:
-
PRINT_ONLY_CONFLICTS_VALUE
- See Also:
-
STORE_INPUT_PROVISIONING_CONFIG_PROPERTY
- See Also:
-
STORE_INPUT_PROVISIONING_CONFIG_VALUE
- See Also:
-
STORE_PROVISIONED_ARTIFACTS
- See Also:
-
STORE_PROVISIONED_ARTIFACTS_VALUE
-
-
Constructor Details
-
GalleonUtils
public GalleonUtils()
-
-
Method Details
-
executeGalleon
public static void executeGalleon(GalleonUtils.GalleonExecution execution, Path localRepository) throws org.jboss.galleon.ProvisioningException, org.wildfly.channel.UnresolvedMavenArtifactException - Throws:
org.jboss.galleon.ProvisioningExceptionorg.wildfly.channel.UnresolvedMavenArtifactException
-
newGalleonBuilder
public static org.jboss.galleon.api.GalleonBuilder newGalleonBuilder(org.jboss.galleon.universe.maven.repo.MavenRepoManager maven, Consumer<String> resolvedFps) throws org.jboss.galleon.ProvisioningException - Throws:
org.jboss.galleon.ProvisioningException
-
newProvisioning
public static org.jboss.galleon.api.Provisioning newProvisioning(org.jboss.galleon.api.GalleonBuilder provider, Path installDir, org.jboss.galleon.api.config.GalleonProvisioningConfig config, Path provisioningFile, boolean useDefaultCore) throws org.jboss.galleon.ProvisioningException - Throws:
org.jboss.galleon.ProvisioningException
-
getInstalledPacks
public static List<String> getInstalledPacks(Path dir) throws org.jboss.galleon.ProvisioningException - Throws:
org.jboss.galleon.ProvisioningException
-
readProvisioningConfig
public static org.jboss.galleon.api.config.GalleonProvisioningConfig readProvisioningConfig(URI uri) throws MetadataException - Throws:
MetadataException
-
loadProvisioningConfig
@Deprecated(forRemoval=true) public static org.jboss.galleon.api.config.GalleonProvisioningConfig loadProvisioningConfig(InputStream is) throws org.jboss.galleon.ProvisioningException, XMLStreamException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
org.jboss.galleon.ProvisioningExceptionXMLStreamException
-
loadProvisioningConfig
@Deprecated(forRemoval=true) public static org.jboss.galleon.api.config.GalleonProvisioningConfig loadProvisioningConfig(URI uri) throws org.jboss.galleon.ProvisioningException, XMLStreamException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
org.jboss.galleon.ProvisioningExceptionXMLStreamException
-
findChanges
public static org.jboss.galleon.diff.FsDiff findChanges(Path root) throws org.jboss.galleon.ProvisioningException, OperationException Returns list of files in the installation folder with their status (changed/added/removed)- Parameters:
root-- Returns:
- Throws:
org.jboss.galleon.ProvisioningExceptionOperationException
-