public interface ApplicationPlugin
Modifier and Type | Field and Description |
---|---|
static String |
ALL_ASSOCATION_KEY
key to mark that a plugin should be used for ALL applications.
|
static String |
APPLICATION_ASSOCIATION_KEY
key for the application name.
|
static String |
DISPLAY_NAME_KEY
key for the display name.
|
static String |
ID_KEY
key for the id location.
|
static String |
IFRAME_LOCATION_KEY
key for the iframe location.
|
Modifier and Type | Method and Description |
---|---|
void |
addAssocations(List<String> assocations)
Adds an application assocation list to the existing list.
|
void |
addAssociations(String assocations)
Adds a single application association to this plugin.
|
List<String> |
getAssocations()
Returns a list of applications that this plugin should be associated with.
|
String |
getDisplayName()
Returns the display name.
|
UUID |
getID()
Returns the id of this plugin.
|
String |
getIframeLocation()
Returns the iframe location.
|
boolean |
matchesAssocationName(String assocationName)
Handles figuring out if this plugin is matching to the app name sent in.
|
void |
setAssociations(List<String> assocations)
Sets the application assocations to the inputted values.
|
Map<String,Object> |
toJSON()
Utility method that will handle the conversion of this object to something jolokia can convert
to json.
|
static final String ALL_ASSOCATION_KEY
static final String DISPLAY_NAME_KEY
static final String APPLICATION_ASSOCIATION_KEY
static final String IFRAME_LOCATION_KEY
static final String ID_KEY
List<String> getAssocations()
String getDisplayName()
UUID getID()
String getIframeLocation()
Map<String,Object> toJSON()
boolean matchesAssocationName(String assocationName)
appName
- - the name of the application we are going to test.void setAssociations(List<String> assocations)
appName
- - the string name of an application.void addAssocations(List<String> assocations)
applicationAssociations
- void addAssociations(String assocations)
applicationAssocation
- - the string name of the application.This work is licensed under a Creative Commons Attribution 4.0 International License.