Class StateInfoUtil


  • public class StateInfoUtil
    extends java.lang.Object
    Author:
    jdenise@redhat.com
    • Constructor Summary

      Constructors 
      Constructor Description
      StateInfoUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildConfigs​(java.util.Map<java.lang.String,​java.util.List<ConfigInfo>> configs, org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> pLayout)  
      static java.lang.String buildDependencies​(java.util.List<org.jboss.galleon.universe.FeaturePackLocation> dependencies, java.util.Map<org.jboss.galleon.universe.FeaturePackLocation.FPID,​org.jboss.galleon.config.FeaturePackConfig> configs)  
      static java.lang.String buildLayers​(org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> pLayout)  
      static java.lang.String buildOptionalPackages​(PmSession session, FeatureContainer container, org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> pLayout)  
      static java.lang.String buildOptions​(ResolvedPlugins plugins)  
      static java.lang.String buildPatches​(PmCommandInvocation invoc, org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> layout)  
      static void displayInfo​(PmCommandInvocation invoc, java.nio.file.Path installation, org.jboss.galleon.config.ProvisioningConfig config, java.lang.String type, java.util.function.Function<org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout>,​FeatureContainer> supplier)  
      static java.lang.String formatChannel​(org.jboss.galleon.universe.FeaturePackLocation loc)  
      static void printContentPath​(PmCommandInvocation session, FeatureContainer fp, java.lang.String path)  
      static void printFeaturePack​(PmCommandInvocation commandInvocation, org.jboss.galleon.universe.FeaturePackLocation loc)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StateInfoUtil

        public StateInfoUtil()
    • Method Detail

      • buildConfigs

        public static java.lang.String buildConfigs​(java.util.Map<java.lang.String,​java.util.List<ConfigInfo>> configs,
                                                    org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> pLayout)
                                             throws org.jboss.galleon.ProvisioningException,
                                                    java.io.IOException
        Throws:
        org.jboss.galleon.ProvisioningException
        java.io.IOException
      • buildOptionalPackages

        public static java.lang.String buildOptionalPackages​(PmSession session,
                                                             FeatureContainer container,
                                                             org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> pLayout)
                                                      throws org.jboss.galleon.ProvisioningException,
                                                             java.io.IOException
        Throws:
        org.jboss.galleon.ProvisioningException
        java.io.IOException
      • buildLayers

        public static java.lang.String buildLayers​(org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> pLayout)
                                            throws org.jboss.galleon.ProvisioningException,
                                                   java.io.IOException
        Throws:
        org.jboss.galleon.ProvisioningException
        java.io.IOException
      • buildDependencies

        public static java.lang.String buildDependencies​(java.util.List<org.jboss.galleon.universe.FeaturePackLocation> dependencies,
                                                         java.util.Map<org.jboss.galleon.universe.FeaturePackLocation.FPID,​org.jboss.galleon.config.FeaturePackConfig> configs)
      • buildPatches

        public static java.lang.String buildPatches​(PmCommandInvocation invoc,
                                                    org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> layout)
                                             throws org.jboss.galleon.ProvisioningException
        Throws:
        org.jboss.galleon.ProvisioningException
      • printFeaturePack

        public static void printFeaturePack​(PmCommandInvocation commandInvocation,
                                            org.jboss.galleon.universe.FeaturePackLocation loc)
      • buildOptions

        public static java.lang.String buildOptions​(ResolvedPlugins plugins)
      • formatChannel

        public static java.lang.String formatChannel​(org.jboss.galleon.universe.FeaturePackLocation loc)