Class Main


  • public final class Main
    extends java.lang.Object
    The main entry point of JBoss Modules when run as a JAR on the command line.
    Author:
    David M. Lloyd, Richard Opalka, Jason T. Greene
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getJarName()
      Get the name of the JBoss Modules JAR.
      static java.lang.String getVersionString()
      Get the version string of JBoss Modules.
      static void main​(java.lang.String[] args)
      Run JBoss Modules.
      • Methods inherited from class java.lang.Object

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

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Throwable
        Run JBoss Modules.
        Parameters:
        args - the command-line arguments
        Throws:
        java.lang.Throwable - if an error occurs
      • getJarName

        public static java.lang.String getJarName()
        Get the name of the JBoss Modules JAR.
        Returns:
        the name
      • getVersionString

        public static java.lang.String getVersionString()
        Get the version string of JBoss Modules.
        Returns:
        the version string