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 ExtensionHandlerpublic void setPriority(int priority)
public boolean isEnabled()
ExtensionHandlerisEnabled in interface ExtensionHandlerpublic void setEnabled(boolean enabled)
Copyright © 2019. All rights reserved.