Package org.wildfly.glow
Class Utils
java.lang.Object
org.wildfly.glow.Utils
- Author:
- jdenise
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerMappingstatic org.jboss.galleon.api.config.GalleonProvisioningConfigbuildOfflineProvisioningConfig(org.jboss.galleon.api.GalleonBuilder provider, GlowMessageWriter writer) static Stringstatic StringgetAddOnFix(AddOn ao, String fixContent) getAllLayers(org.jboss.galleon.api.config.GalleonProvisioningConfig config, org.jboss.galleon.universe.UniverseResolver universeResolver, org.jboss.galleon.api.Provisioning context, Map<org.jboss.galleon.universe.FeaturePackLocation.FPID, Set<org.jboss.galleon.universe.FeaturePackLocation.ProducerSpec>> fpDependencies) getAllProfiles(Map<String, Layer> layers) static StringgetConfigEntry(String entry) static PathgetXMLElementValues(Path p, String expression) static booleanstatic booleanlayersAreBanned(Set<Layer> layers)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
getAllLayers
public static Map<String,Layer> getAllLayers(org.jboss.galleon.api.config.GalleonProvisioningConfig config, org.jboss.galleon.universe.UniverseResolver universeResolver, org.jboss.galleon.api.Provisioning context, Map<org.jboss.galleon.universe.FeaturePackLocation.FPID, Set<org.jboss.galleon.universe.FeaturePackLocation.ProducerSpec>> fpDependencies) throws org.jboss.galleon.ProvisioningException, IOException- Throws:
org.jboss.galleon.ProvisioningExceptionIOException
-
getOffLineContent
- Throws:
IOException
-
buildOfflineProvisioningConfig
public static org.jboss.galleon.api.config.GalleonProvisioningConfig buildOfflineProvisioningConfig(org.jboss.galleon.api.GalleonBuilder provider, GlowMessageWriter writer) throws Exception - Throws:
Exception
-
getXMLElementValues
- Throws:
Exception
-
escapePattern
-
isPattern
-
buildMapping
-
getAllProfiles
-
getAddOnFix
public static String getAddOnFix(AddOn ao, String fixContent) throws URISyntaxException, IOException - Throws:
URISyntaxExceptionIOException
-
layersAreBanned
-
getConfigEntry
- Throws:
IOException
-