rustic / com.osm.gradle.plugins.wrapper.builder.command / CommandOptionBase

CommandOptionBase

abstract class CommandOptionBase : ICommandOption

This class represents one option and its parameters.

Constructors

<init>

This class represents one option and its parameters.

CommandOptionBase(param: Iterable<String?>?)

Properties

param

val param: Iterable<String?>?

Functions

toList

Turns an option and its parameters into a list.

open fun toList(): List<String>

Inheritors

MultipleCommandOptionBase

This class is used to represent command that are expected to be set multiple times.

abstract class MultipleCommandOptionBase : CommandOptionBase

SingleCommandOptionBase

This class is used to represent command that cannot be set more than once.

abstract class SingleCommandOptionBase : CommandOptionBase