Class ComponentEventDescriptor
java.lang.Object
com.inductiveautomation.perspective.common.api.ComponentEventDescriptor
Describes an event that a component might fire.
-
Constructor Summary
ConstructorsConstructorDescriptionComponentEventDescriptor
(String name, JsonSchema schema) ComponentEventDescriptor
(String name, String description, JsonSchema schema) ComponentEventDescriptor
(String name, String description, JsonSchema schema, String documentationUrl) -
Method Summary
Modifier and TypeMethodDescriptionA URL to read further information about this event, e.g.getName()
The name of the event, like "onThingHappened"The schema for the event object.
-
Constructor Details
-
ComponentEventDescriptor
-
ComponentEventDescriptor
-
ComponentEventDescriptor
-
ComponentEventDescriptor
public ComponentEventDescriptor(String name, String description, JsonSchema schema, String documentationUrl)
-
-
Method Details
-
getName
The name of the event, like "onThingHappened" -
getDescription
-
getDocumentationUrl
A URL to read further information about this event, e.g. to a user manual page. -
getSchema
The schema for the event object. Default implementation returns an empty schema.
-