枚举类的使用
org.springframework.boot.loader.tools.LoaderImplementation
使用LoaderImplementation的程序包
-
org.springframework.boot.loader.tools中LoaderImplementation的使用
修饰符和类型方法说明static LoaderImplementation返回带有指定名称的该类的枚举常量。static LoaderImplementation[]LoaderImplementation.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明voidPackager.setLoaderImplementation(LoaderImplementation loaderImplementation) Sets the loader implementation to use.voidAbstractJarWriter.writeLoaderClasses(LoaderImplementation loaderImplementation) voidLoaderClassesWriter.writeLoaderClasses(LoaderImplementation loaderImplementation) Write the default required spring-boot-loader classes to the JAR.