ComponentRegistration Class

  • java.lang.Object
    • com.microsoft.bot.builder.ComponentRegistration

public class ComponentRegistration

ComponentRegistration is a signature class for discovering assets from components.

Constructor Summary

Constructor Description
ComponentRegistration()

Method Summary

Modifier and Type Method and Description
static void add(ComponentRegistration componentRegistration)

Add a component which implements registration methods.

static java.lang.Iterable<java.lang.Object> getComponents()

Gets list of all ComponentRegistration objects registered.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ComponentRegistration

public ComponentRegistration()

Method Details

add

public static void add(ComponentRegistration componentRegistration)

Add a component which implements registration methods.

Parameters:

componentRegistration - The component to add to the registration.

getComponents

public static Iterable getComponents()

Gets list of all ComponentRegistration objects registered.

Returns:

A array of ComponentRegistration objects.

Applies to