Class PreconfigureQuickStartWar


  • public class PreconfigureQuickStartWar
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOG  
      (package private) static boolean ORIGIN  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void error​(java.lang.String message)  
      static void main​(java.lang.String... args)  
      static void preconfigure​(Resource war, Resource dir, Resource xml)  
      • Methods inherited from class java.lang.Object

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

      • LOG

        private static final Logger LOG
      • ORIGIN

        static final boolean ORIGIN
    • Constructor Detail

      • PreconfigureQuickStartWar

        public PreconfigureQuickStartWar()
    • Method Detail

      • main

        public static void main​(java.lang.String... args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • preconfigure

        public static void preconfigure​(Resource war,
                                        Resource dir,
                                        Resource xml)
                                 throws java.lang.Exception
        Parameters:
        war - The war (or directory) to preconfigure
        dir - The directory to expand the war into (or null if war is a directory)
        xml - A context XML to apply (or null if none)
        Throws:
        java.lang.Exception - if unable to pre configure
      • error

        private static void error​(java.lang.String message)