public abstract class AbstractExtensionHandler extends Object implements ExtensionHandler
ExtensionHandler
class that provide basic extension handler properties including
priority (which drives the execution order of handlers) and enabled (which if false informs the
manager to skip this handler).Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected int |
priority |
Constructor and Description |
---|
AbstractExtensionHandler() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Determines the priority of this extension handler.
|
boolean |
isEnabled()
If false, the ExtensionManager should skip this Handler.
|
void |
setEnabled(boolean enabled) |
void |
setPriority(int priority) |
public int getPriority()
getPriority
in interface ExtensionHandler
public void setPriority(int priority)
public boolean isEnabled()
ExtensionHandler
isEnabled
in interface ExtensionHandler
public void setEnabled(boolean enabled)
Copyright © 2022. All rights reserved.