In package com.eden.orchid.api.generators

class com.eden.orchid.api.generators.OrchidCollection

A Collection represents a set of local resources which are consumed by a generator. Inspired by (and used for) the Netlify CMS, Collections can also be used for other descriptive purposes, and are an opt-in feature of Generators.

Constructors

public <init>(kotlin.String, kotlin.String, kotlin.collections.MutableList((com.eden.orchid.api.generators.OrchidCollection.T)))

Parameters:
  • collectionType: String
  • collectionId: String
  • items: MutableList
public <init>(com.eden.orchid.api.generators.OrchidGenerator, kotlin.String, kotlin.collections.MutableList((com.eden.orchid.api.generators.OrchidCollection.T)))

Parameters:

Methods

public open clear(): Unit

Parameters:
  • No parameters
public open getTitle(): String

Parameters:
  • No parameters
public open setItems(kotlin.collections.MutableList((com.eden.orchid.api.generators.OrchidCollection.T))): Unit

Parameters:
  • items: MutableList
public open findMatches(kotlin.String): Stream

Parameters:
  • id: String