ServerAsset

sealed class ServerAsset

Describes a server-side asset which is embedded in an application bundle through Elide's asset tools and protocol buffer for asset bundle metadata.

Parameters

module

ID assigned by the developer to this asset module.

assetType

Type of asset being referenced by this object.

index

Index of this asset within the content bundle, if applicable.

Inheritors

Types

Link copied to clipboard
class Script(descriptor: AssetBundle.ScriptBundle, index: SortedSet<Int>?) : ServerAsset

Describes a JavaScript asset which is embedded in a given Elide application, and described by Elide's protocol buffer structures; when read from the application bundle and interpreted, this class is used to hold script info.

Link copied to clipboard
class Stylesheet(descriptor: AssetBundle.StyleBundle, index: SortedSet<Int>?) : ServerAsset

Describes a stylesheet asset which is embedded in a given Elide application, and described by Elide's protocol buffer structures; when read from the application bundle and interpreted, this class is used to hold document info.

Link copied to clipboard
class Text(descriptor: AssetBundle.GenericBundle, index: SortedSet<Int>?) : ServerAsset

Describes a generic text asset of some kind, for example, humans.txt or robots.txt; when read from the app bundle and interpreted, this class is used to hold file info.