Package com.tick42.glue.internal
Class Tick42Glue
- java.lang.Object
-
- com.tick42.glue.internal.Tick42Glue
-
- All Implemented Interfaces:
AsynchronousCloseable,GlueApplication,GlueEvent.Monitor,Glue,AutoCloseable
public class Tick42Glue extends Object implements Glue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTick42Glue.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationManagerappManager()Entry point forApplicationManagerAPI.static Tick42Glue.Builderbuilder()Creates a builder for Glue instances.Channelschannels()Entry point forChannelsAPI.CompletionStage<Void>closeAsync()Initiates a shutdown.SharedContextscontexts()Entry point forSharedContextsAPI.Stringenv()Returns the Glue environment.Spreadsheetsexcel()Intentsintents()Entry point forIntentsAPI.Interopinterop()Entry point forInteropAPI.Layoutslayouts()Entry point forLayoutsAPI.Metricsmetrics()Entry point forMetricsAPINotificationsnotifications()Entry point forNotificationsAPI.<E extends GlueEvent<?>>
CompletionStage<GlueEvent.Subscription<E>>on(GlueEvent.Listener<? extends E> listener)CompletionStage<Void>onClose()Return a stage that will complete whenAsynchronousCloseable.closeAsync()is called and shutdown completes.Mailoutlook()Stringregion()Returns the Glue region.Stringversion()Returns the version of the Glue library.WindowManagerwindows()Entry point forWindow ManagementAPI.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tick42.glue.core.AsynchronousCloseable
close
-
-
-
-
Method Detail
-
version
public String version()
Description copied from interface:GlueReturns the version of the Glue library.
-
interop
public Interop interop()
Description copied from interface:GlueApplicationEntry point forInteropAPI.- Specified by:
interopin interfaceGlueApplication- Returns:
- interop for this Glue application
-
contexts
public SharedContexts contexts()
Description copied from interface:GlueApplicationEntry point forSharedContextsAPI.- Specified by:
contextsin interfaceGlueApplication- Returns:
- shared contexts for this Glue application
-
metrics
public Metrics metrics()
Description copied from interface:GlueApplicationEntry point forMetricsAPI- Specified by:
metricsin interfaceGlueApplication- Returns:
- metrics for this Glue application
-
windows
public WindowManager windows()
Description copied from interface:GlueEntry point forWindow ManagementAPI.
-
channels
public Channels channels()
Description copied from interface:GlueEntry point forChannelsAPI.
-
notifications
public Notifications notifications()
Description copied from interface:GlueEntry point forNotificationsAPI.- Specified by:
notificationsin interfaceGlue- Returns:
- notifications for this Glue application
-
appManager
public ApplicationManager appManager()
Description copied from interface:GlueEntry point forApplicationManagerAPI.- Specified by:
appManagerin interfaceGlue- Returns:
- app manager for this Glue application
-
layouts
public Layouts layouts()
Description copied from interface:GlueEntry point forLayoutsAPI.
-
intents
public Intents intents()
Description copied from interface:GlueEntry point forIntentsAPI.
-
excel
public Spreadsheets excel()
-
onClose
public CompletionStage<Void> onClose()
Description copied from interface:AsynchronousCloseableReturn a stage that will complete whenAsynchronousCloseable.closeAsync()is called and shutdown completes.- Specified by:
onClosein interfaceAsynchronousCloseable- Returns:
- a stage that will complete when shutdown is complete, never
null
-
closeAsync
public CompletionStage<Void> closeAsync()
Description copied from interface:AsynchronousCloseableInitiates a shutdown.- Specified by:
closeAsyncin interfaceAsynchronousCloseable- Returns:
- a stage that will complete when shutdown is complete, never
null
-
on
public <E extends GlueEvent<?>> CompletionStage<GlueEvent.Subscription<E>> on(GlueEvent.Listener<? extends E> listener)
- Specified by:
onin interfaceGlueEvent.Monitor
-
builder
public static Tick42Glue.Builder builder()
Description copied from interface:GlueCreates a builder for Glue instances.- Returns:
- builder to create a new instance, never
null
-
-