In package com.eden.orchid.api.resources.resource

class com.eden.orchid.api.resources.resource.ResourceWrapper

A Resource type that wraps another resource, optionally applying a transformation along the way.

Constructors

public <init>(com.eden.orchid.api.resources.resource.OrchidResource)

Parameters:

Methods

public open setEmbeddedData(JSONElement): Unit

Parameters:

Parameters:
  • No parameters
public open free(): Unit

Parameters:
  • No parameters
public open update(java.io.InputStream): Unit

Parameters:
  • newContent:
public open getPriority(): Int

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

Parameters:
  • No parameters
public open setShouldRender(kotlin.Boolean): Unit

Parameters:
  • shouldRender: Boolean
public open getTitle(): String

Parameters:
  • No parameters
public open shouldRender(): Boolean

Parameters:
  • No parameters
public open setPriority(kotlin.Int): Unit

Parameters:
  • priority: Int
public open delete(): Unit

Parameters:
  • No parameters
public open hashCode(): Int

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

Parameters:
  • No parameters
public open compileContent(kotlin.Any): String

Parameters:
  • data: Any
public open getContentStream():

Parameters:
  • No parameters
public open equals(kotlin.Any): Boolean

Parameters:
  • other: Any
public open toString(): String

Parameters:
  • No parameters
public open getEmbeddedData(): JSONElement

Parameters:
  • No parameters
public open setContent(kotlin.String): Unit

Parameters:
  • content: String
public open queryEmbeddedData(kotlin.String): JSONElement

Parameters:
  • pointer: String
public open setRawContent(kotlin.String): Unit

Parameters:
  • rawContent: String
public open getContext(): com.eden.orchid.api.OrchidContext

Parameters:
  • No parameters
public open shouldPrecompile(): Boolean

Parameters:
  • No parameters
public open canUpdate(): Boolean

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

Parameters:
  • No parameters
public open canDelete(): Boolean

Parameters:
  • No parameters