ServiceNameParser
class ServiceNameParser<C> : ArgumentParser<C, ServiceName> , BlockingSuggestionProvider.Strings<CommandSender>
サービスアカウント名をパースするコマンドパーサー Tab補完でDBから取得したサービスアカウント名一覧を表示する
Functions
Link copied to clipboard
@API(status = API.Status.STABLE)
Link copied to clipboard
@API(status = API.Status.STABLE)
Link copied to clipboard
open override fun parse(commandContext: CommandContext<C & Any>, commandInput: CommandInput): ArgumentParseResult<ServiceName>
入力文字列をServiceNameにパースする DBに存在するサービスアカウント名のみ許可
Link copied to clipboard
@API(status = API.Status.STABLE)
Link copied to clipboard
open override fun stringSuggestions(commandContext: CommandContext<CommandSender?>, input: CommandInput): Iterable<String>
Tab補完用のサジェストを提供 DBから全サービスアカウント名を取得して返す
Link copied to clipboard
Link copied to clipboard
open fun suggestions(context: @NonNull CommandContext<CommandSender?>, input: @NonNull CommandInput): @NonNull Iterable<@NonNull Suggestion>
Link copied to clipboard
open fun suggestionsFuture(context: @NonNull CommandContext<CommandSender?>, input: @NonNull CommandInput): @NonNull CompletableFuture<out @NonNull Iterable<out @NonNull Suggestion>>