Modifier and Type | Method and Description |
---|---|
Optional<AddOnModel> |
AddOnManager.getAddOnForClassLoader(ClassLoader classLoader)
returns the addOn loaded from the ClassLoader
|
Modifier and Type | Method and Description |
---|---|
Optional<ro.fortsoft.pf4j.PluginWrapper> |
AddOnManager.getPluginWrapper(AddOnModel addOnModel)
returns the (optional) PluginWrapper for the AddonModel.
|
boolean |
AddOnManager.loadedThroughPF4J(AddOnModel addOnModel)
checks whether the AddOn was loaded through pf4j
|
Modifier and Type | Method and Description |
---|---|
void |
AddOnManager.addAddOnsWithoutRegistering(List<AddOnModel> addOns)
Adds AddOns without registering them.
|
void |
AddOnManager.addAndRegisterAddOns(List<AddOnModel> addOns)
registers all AddOns.
|
void |
AddOnManager.registerAllAddOns(IdentifiableSet<AddOnModel> addOns) |
Modifier and Type | Method and Description |
---|---|
AddOnModel |
InternalIdentificationManager.getAddonModel(Identification identification)
gets the AddonModel for the Identification, or null if none found
|
Constructor and Description |
---|
Main(List<AddOnModel> addOns)
If you want to debug your Plugin, you can get an Main instance with this Method, JavaFX is disabled
|
Main(List<AddOnModel> addOns,
boolean disableLibFolder)
If you want to debug your Plugin, you can get an Main instance with this Method
|
Main(List<AddOnModel> addOns,
boolean javaFX,
boolean disableLibFolder)
If you want to debug your Plugin, you can get an Main instance with this Method
|
Modifier and Type | Method and Description |
---|---|
Optional<AddOnModel> |
SecurityManager.getAddOnModelForClassLoader()
Gets the current AddOnModel, that is the AddOnModel for the class loader to which the class belongs that
triggered the security manager call, or throws a IzouPermissionException
|
Modifier and Type | Method and Description |
---|---|
void |
AudioPermissionModule.checkPermission(Permission permission,
AddOnModel addOn) |
void |
FilePermissionModule.checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service and registers them if not yet registered.
|
void |
PermissionManager.checkPermission(Permission perm,
AddOnModel addOnModel)
checks the permission
|
abstract void |
PermissionModule.checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service.
|
void |
ReflectionPermissionModule.checkPermission(Permission permission,
AddOnModel addon) |
void |
RootPermission.checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service and registers them if not yet registered.
|
void |
SocketPermissionModule.checkPermission(Permission permission,
AddOnModel addon)
Checks if the given addOn is allowed to access the requested service and registers them if not yet registered.
|
boolean |
PermissionModule.isRegistered(AddOnModel addon)
Checks if an addOn is registered with this PermissionModule
|
void |
PermissionModule.registerAddOn(AddOnModel addon)
Adds an addOn to the registered addOns list for this PermissionModule
|
protected <X extends IzouPermissionException> |
PermissionModule.registerOrThrow(AddOnModel addOn,
java.util.function.Supplier<X> exceptionSupplier,
java.util.function.Function<ro.fortsoft.pf4j.PluginDescriptor,Boolean> checkPermission)
registers the addon if checkPermission returns true, else throws the exception provided by the exceptionSupplier.
|
Modifier and Type | Method and Description |
---|---|
AddOnModel |
Context.getAddOn()
gets addOn
|
Modifier and Type | Method and Description |
---|---|
AddOnModel |
ContextImplementation.getAddOn()
gets addOn
|
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 |
---|---|
AddOnModel |
IzouSoundLine.getAddOnModel()
gets the associated AddonModel
|
AddOnModel |
IzouSoundLineBaseClass.getAddOnModel()
gets the associated AddonModel
|
AddOnModel |
MutingManager.getMuting() |
Modifier and Type | Method and Description |
---|---|
protected void |
SoundManager.addAsPermanent(AddOnModel addOnModel,
Identification source,
boolean nonJava) |
void |
SoundManager.addIzouSoundLine(AddOnModel addOnModel,
IzouSoundLineBaseClass izouSoundLine)
adds an IzouSoundLine, will now be tracked by the SoundManager
|
void |
SoundManager.endPermanent(AddOnModel addOnModel)
unregisters the AddonModel as permanent
|
protected void |
SoundManager.muteCallback(AddOnModel addOnModel,
IzouSoundLineBaseClass izouSoundLine) |
void |
SoundManager.requestPermanent(AddOnModel addOnModel,
Identification source,
boolean nonJava)
tries to register the AddonModel as permanent
|
Constructor and Description |
---|
IzouSoundDataLine(DataLine dataLine,
Main main,
boolean isPermanent,
AddOnModel addOnModel) |
IzouSoundLineBaseClass(Line line,
Main main,
boolean isPermanent,
AddOnModel addOnModel) |
IzouSoundLineClip(Clip clip,
Main main,
boolean isPermanent,
AddOnModel addOnModel) |
IzouSoundLineClipAndSDLine(Clip clip,
SourceDataLine sourceDataLine,
Main main,
boolean isPermanent,
AddOnModel addOnModel) |
IzouSoundSourceDataLine(SourceDataLine dataLine,
Main main,
boolean isPermanent,
AddOnModel addOnModel) |
MutingManager(SoundManager soundManager,
AddOnModel muting,
IzouSoundLine line) |
Copyright © 2016. All rights reserved.