Interface LauncherService

All Superinterfaces:
Comparable<LauncherService>, org.springframework.core.Ordered

public interface LauncherService extends org.springframework.core.Ordered, Comparable<LauncherService>
Author:
dreamfame
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    对比排序
    default int
    获取排列顺序
    void
    launcher(org.springframework.boot.builder.SpringApplicationBuilder builder, String appName, String profile)
    启动时 处理 SpringApplicationBuilder
  • Method Details

    • launcher

      void launcher(org.springframework.boot.builder.SpringApplicationBuilder builder, String appName, String profile)
      启动时 处理 SpringApplicationBuilder
      Parameters:
      builder - SpringApplicationBuilder
      appName - SpringApplicationAppName
      profile - SpringApplicationProfile
    • getOrder

      default int getOrder()
      获取排列顺序
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Returns:
      order
    • compareTo

      default int compareTo(LauncherService o)
      对比排序
      Specified by:
      compareTo in interface Comparable<LauncherService>
      Parameters:
      o - LauncherService
      Returns:
      compare