Interface ApplicationPlugin
- All Known Implementing Classes:
AbstractApplicationPlugin
Deprecated.
going away in a future release. Defines an application configuration plugin.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.key to mark that a plugin should be used for ALL applications.static final StringDeprecated.key for the application name.static final StringDeprecated.key for the display name.static final StringDeprecated.key for the id location.static final StringDeprecated.key for the iframe location. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssocations(List<String> assocations) Deprecated.voidaddAssociations(String assocations) Deprecated.Deprecated.Deprecated.getID()Deprecated.Deprecated.booleanmatchesAssocationName(String assocationName) Deprecated.voidsetAssociations(List<String> assocations) Deprecated.toJSON()Deprecated.
-
Field Details
-
ALL_ASSOCATION_KEY
Deprecated.key to mark that a plugin should be used for ALL applications.- See Also:
-
DISPLAY_NAME_KEY
Deprecated.key for the display name. Used for creating json.- See Also:
-
APPLICATION_ASSOCIATION_KEY
Deprecated.key for the application name. Used for creating json.- See Also:
-
IFRAME_LOCATION_KEY
Deprecated.key for the iframe location. Used for creating json.- See Also:
-
ID_KEY
Deprecated.key for the id location. Used for creating json.- See Also:
-
-
Method Details
-
getAssocations
Deprecated.Returns a list of applications that this plugin should be associated with.- Returns:
- a list of applications that this plugin should be associated with.
-
getDisplayName
Deprecated.Returns the display name. This is the value that will be display to the user.- Returns:
- the display name.
-
getID
Deprecated.Returns the id of this plugin. This is an unique identifier for the front end javascript.- Returns:
- a unique identifier for this plugin as a uuid.
-
getIframeLocation
Deprecated.Returns the iframe location. Can be null.- Returns:
- the iframe location.
-
toJSON
Deprecated.Utility method that will handle the conversion of this object to something jolokia can convert to json.- Returns:
- a constructed map that jolokia can convert to json.
-
matchesAssocationName
Deprecated.Handles figuring out if this plugin is matching to the app name sent in. This will handle the case where a plugin should be used for all.- Parameters:
appName- - the name of the application we are going to test.- Returns:
- yes if the application matches, or should be applied to all applications, false if it doesn't.
-
setAssociations
Deprecated.Sets the application assocations to the inputted values. This will overwrite all previous values.- Parameters:
appName- - the string name of an application.
-
addAssocations
Deprecated.Adds an application assocation list to the existing list. This does not overwrite the previous values, and if there is an existing value it wont add it.- Parameters:
applicationAssociations-
-
addAssociations
Deprecated.Adds a single application association to this plugin. If the application is already there, then nothing will happen.- Parameters:
applicationAssocation- - the string name of the application.
-