public class BasicApplication extends Object implements PlasticApplication
CURRENT_VERSION| Constructor and Description |
|---|
BasicApplication(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the application generic name.
|
URI[] |
getSupportedMessages()
Returns the messages which the application will support.
|
Object |
perform(URI sender,
URI msg,
List args)
Request that the application perform an action based on a message.
|
void |
setDescription(String description)
Sets the application description text.
|
void |
setIconUrl(String iconUrl)
Sets the icon URL for the application.
|
void |
setIvorn(String ivorn)
Sets the IVORN for the application.
|
void |
setVersion(String version)
Sets the PLASTIC version string.
|
public BasicApplication(String name)
name - registered application namepublic String getName()
PlasticApplicationgetName in interface PlasticApplicationpublic void setDescription(String description)
description - description textpublic void setVersion(String version)
PlasticUtils.PLASTIC_VERSION.version - plastic version stringpublic void setIconUrl(String iconUrl)
iconUrl - icon URLpublic void setIvorn(String ivorn)
ivorn - IVORNpublic URI[] getSupportedMessages()
PlasticApplicationgetSupportedMessages in interface PlasticApplicationpublic Object perform(URI sender, URI msg, List args)
PlasticListenerperform in interface PlasticListenersender - the ID of the originating application.msg - the URI representing the action.args - any arguments to pass.Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.