public class ContextImplementation extends Object implements Context
Modifier and Type | Class and Description |
---|---|
class |
ContextImplementation.OutputImpl |
Constructor and Description |
---|
ContextImplementation(AddOnModel addOn,
Main main,
String logLevel)
creates a new context for the addOn
A context contains all the "global" or generally necessary information an addOn might need that it otherwise does
not have access too
|
Modifier and Type | Method and Description |
---|---|
Activators |
getActivators()
returns the API to manage the Activators
|
AddOnModel |
getAddOn()
gets addOn
|
Events |
getEvents()
returns the API used for interaction with Events
|
Files |
getFiles()
returns the API used for interaction with Files
|
org.apache.logging.log4j.spi.ExtendedLogger |
getLogger()
gets logger for addOn
|
Output |
getOutput()
returns the API used to manage the OutputPlugins and OutputExtensions
|
Resources |
getResources()
returns the API used for interaction with Resource
|
System |
getSystem()
retruns the API used to interact with Izou.
|
ThreadPool |
getThreadPool()
returns the API used to manage the ThreadPool
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecureStorage
public ContextImplementation(AddOnModel addOn, Main main, String logLevel)
addOn
- the addOn for which to create a new contextmain
- instance of mainlogLevel
- the logLevel to initialize the IzouLogger withpublic Resources getResources()
getResources
in interface Context
public org.apache.logging.log4j.spi.ExtendedLogger getLogger()
public ThreadPool getThreadPool()
getThreadPool
in interface Context
public Activators getActivators()
getActivators
in interface Context
public Output getOutput()
public AddOnModel getAddOn()
Copyright © 2016. All rights reserved.