Interface IZenClassRegistry.IClassData

Enclosing interface:
IZenClassRegistry

public static interface IZenClassRegistry.IClassData
Identifies raw information on the classes registered to a specific IScriptLoader.

The provided information is read-only and exists merely to allow raw data access. It is suggested to use the other methods exposed by IZenClassRegistry instead.

Since:
9.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.collect.BiMap<String,Class<?>>
    Gets a read-only BiMap referencing all classes that are exposed to ZenCode in this loader.
    com.google.common.collect.Multimap<String,Class<?>>
    Gets a read-only Multimap referencing all expansions for the various types known to ZenCode for this loader.
    com.google.common.collect.BiMap<String,Class<?>>
    Gets a read-only BiMap referencing all classes containing globals that should be exposed.
    Gets a read-only list of all the classes registered to this loader, be those regular classes or expansions.
  • Method Details

    • registeredClasses

      List<Class<?>> registeredClasses()
      Gets a read-only list of all the classes registered to this loader, be those regular classes or expansions.
      Returns:
      A list of all classes registered to this loader.
      Since:
      9.1.0
    • globals

      com.google.common.collect.BiMap<String,Class<?>> globals()
      Gets a read-only BiMap referencing all classes containing globals that should be exposed.

      The key of the map represents the ZenCode name under which its corresponding value is exposed as.

      Returns:
      A map with all classes containing globals to expose.
      Since:
      9.1.0
    • classes

      com.google.common.collect.BiMap<String,Class<?>> classes()
      Gets a read-only BiMap referencing all classes that are exposed to ZenCode in this loader.

      The key of the map represents the ZenCode name under which its corresponding value is exposed as.

      Returns:
      A map with all exposed classes.
      Since:
      9.1.0
    • expansions

      com.google.common.collect.Multimap<String,Class<?>> expansions()
      Gets a read-only Multimap referencing all expansions for the various types known to ZenCode for this loader.

      The key of the map represents the ZenCode name for the type that the corresponding values are expanding. It does not represent the name of the expansion themselves.

      Returns:
      A map with all exposed expansions.
      Since:
      9.1.0