PrimType

zio.cli.PrimType
See thePrimType companion trait
object PrimType

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
PrimType.type

Members list

Type members

Classlikes

final case class Bool(defaultValue: Option[Boolean]) extends PrimType[Boolean]

Type representing a boolean value. True value can be passed as "true", "1", "y", "yes" or "on". False value can be passed as "false", "o", "n", "no" or "off".

Type representing a boolean value. True value can be passed as "true", "1", "y", "yes" or "on". False value can be passed as "false", "o", "n", "no" or "off".

Value parameters

defaultValue

Default value used then param is not provided

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait PrimType[Boolean]
class Object
trait Matchable
class Any
Show all
Self type
object Bool

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Bool.type
case object Decimal extends PrimType[BigDecimal]

Type representing decimal value via BigDecimal.

Type representing decimal value via BigDecimal.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Decimal.type
case object Duration extends PrimType[Duration]

Type representing a time-based amount of time in the ISO-8601 format, such as 'P1DT2H3M'.

Type representing a time-based amount of time in the ISO-8601 format, such as 'P1DT2H3M'.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[Duration]
class Object
trait Matchable
class Any
Show all
Self type
Duration.type
final case class Enumeration[A](cases: (String, A)*) extends PrimType[A]

Type representing a value selected from set of allowed values.

Type representing a value selected from set of allowed values.

Value parameters

cases

lists of allowed parameter-value pairs

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PrimType[A]
class Object
trait Matchable
class Any
Show all
Self type
case object Instant extends PrimType[Instant]

Type representing parameter for instant in time in UTC format, such as 2007-12-03T10:15:30.00Z.

Type representing parameter for instant in time in UTC format, such as 2007-12-03T10:15:30.00Z.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[Instant]
class Object
trait Matchable
class Any
Show all
Self type
Instant.type
case object Integer extends PrimType[BigInt]

Type representing integer value via BigInt.

Type representing integer value via BigInt.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[BigInt]
class Object
trait Matchable
class Any
Show all
Self type
Integer.type
case object LocalDate extends PrimType[LocalDate]

Type representing parameter for a date in ISO_LOCAL_DATE format, such as 2007-12-03.

Type representing parameter for a date in ISO_LOCAL_DATE format, such as 2007-12-03.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[LocalDate]
class Object
trait Matchable
class Any
Show all
Self type
LocalDate.type
case object LocalDateTime extends PrimType[LocalDateTime]

Type representing a date-time without a time-zone in the ISO-8601 format, such as 2007-12-03T10:15:30.

Type representing a date-time without a time-zone in the ISO-8601 format, such as 2007-12-03T10:15:30.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[LocalDateTime]
class Object
trait Matchable
class Any
Show all
Self type
case object LocalTime extends PrimType[LocalTime]

Type representing a time without a time-zone in the ISO-8601 format, such as 10:15:30.

Type representing a time without a time-zone in the ISO-8601 format, such as 10:15:30.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[LocalTime]
class Object
trait Matchable
class Any
Show all
Self type
LocalTime.type
case object MonthDay extends PrimType[MonthDay]

Type representing a month-day in the ISO-8601 format such as 12-03.

Type representing a month-day in the ISO-8601 format such as 12-03.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[MonthDay]
class Object
trait Matchable
class Any
Show all
Self type
MonthDay.type
case object OffsetDateTime extends PrimType[OffsetDateTime]

Type representing a date-time with an offset from UTC/Greenwich in the ISO-8601 format, such as 2007-12-03T10:15:30+01:00.

Type representing a date-time with an offset from UTC/Greenwich in the ISO-8601 format, such as 2007-12-03T10:15:30+01:00.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[OffsetDateTime]
class Object
trait Matchable
class Any
Show all
Self type
case object OffsetTime extends PrimType[OffsetTime]

Type representing a time with an offset from UTC/Greenwich in the ISO-8601 format, such as 10:15:30+01:00.

Type representing a time with an offset from UTC/Greenwich in the ISO-8601 format, such as 10:15:30+01:00.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[OffsetTime]
class Object
trait Matchable
class Any
Show all
Self type
OffsetTime.type
final case class Path(pathType: PathType, shouldExist: Exists, fileSystem: FileSystem) extends PrimType[JPath]

Type representing file system path.

Type representing file system path.

Value parameters

fileSystem

Implementation of FileSystem trait.

pathType

Type of expected path: Directory, File or Either if both are acceptable.

shouldExist

Yes if path is expected to exists, No otherwise or Either is both are acceptable.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PrimType[JPath]
class Object
trait Matchable
class Any
Show all
Self type
case object Period extends PrimType[Period]

Type representing a date-based amount of time in the ISO-8601 format, such as 'P1Y2M3D'.

Type representing a date-based amount of time in the ISO-8601 format, such as 'P1Y2M3D'.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[Period]
class Object
trait Matchable
class Any
Show all
Self type
Period.type
case object Text extends PrimType[String]

Type representing any text.

Type representing any text.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[String]
class Object
trait Matchable
class Any
Show all
Self type
Text.type
case object Year extends PrimType[Year]

Type representing a year in the ISO-8601 format, such as 2007.

Type representing a year in the ISO-8601 format, such as 2007.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[Year]
class Object
trait Matchable
class Any
Show all
Self type
Year.type
case object YearMonth extends PrimType[YearMonth]

Type representing a year-month in the ISO-8601 format, such as 2007-12..

Type representing a year-month in the ISO-8601 format, such as 2007-12..

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[YearMonth]
class Object
trait Matchable
class Any
Show all
Self type
YearMonth.type
case object ZoneId extends PrimType[ZoneId]

Type representing a time-zone ID, such as Europe/Paris.

Type representing a time-zone ID, such as Europe/Paris.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[ZoneId]
class Object
trait Matchable
class Any
Show all
Self type
ZoneId.type
case object ZoneOffset extends PrimType[ZoneOffset]

Type representing a time-zone offset from Greenwich/UTC, such as +02:00.

Type representing a time-zone offset from Greenwich/UTC, such as +02:00.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[ZoneOffset]
class Object
trait Matchable
class Any
Show all
Self type
ZoneOffset.type
case object ZonedDateTime extends PrimType[ZonedDateTime]

Type representing a date-time with a time-zone in the ISO-8601 format, such as 2007-12-03T10:15:30+01:00 Europe/Paris.

Type representing a date-time with a time-zone in the ISO-8601 format, such as 2007-12-03T10:15:30+01:00 Europe/Paris.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PrimType[ZonedDateTime]
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type JPath = Path

Attributes

Inherited from:
PathPlatformSpecific (hidden)

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror