In package com.eden.orchid.api.generators

public abstract class GlobalCollection<T> extends OrchidCollection<T>

since: v1.0.0 public abstract

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

GlobalCollection(String collectionId) public

Parameters:
  • String collectionId

Methods

List<E> loadItems() abstract protected

Stream<T> findMatches(String id) public

Parameters:
  • String id