Package jadex.tools.web.jcc
Class JCCPluginAgent
- java.lang.Object
-
- jadex.tools.web.jcc.JCCPluginAgent
-
- Direct Known Subclasses:
JCCCloudviewPluginAgent
,JCCSecurityPluginAgent
,JCCStarterPluginAgent
public abstract class JCCPluginAgent extends java.lang.Object
Abstract base class for plugin agents. Supports UI code loading.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
The agent.protected java.lang.String
component
The plugin component string.
-
Constructor Summary
Constructors Constructor Description JCCPluginAgent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IInternalAccess
getAgent()
Get the agent.IFuture<java.lang.String>
getPluginComponent()
Get the plugin component (html).abstract IFuture<java.lang.String>
getPluginName()
Get the plugin name.abstract java.lang.String
getPluginUIPath()
Get the plugin UI path.abstract IFuture<java.lang.Integer>
getPriority()
Get the plugin priority.java.lang.String
internalLoadResource(java.lang.String name)
Load a resource per resource name.IFuture<byte[]>
loadResource(java.lang.String filename)
Load a string-based ressource (style or js).
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The agent.
-
component
protected java.lang.String component
The plugin component string.
-
-
Method Detail
-
getAgent
public IInternalAccess getAgent()
Get the agent.- Returns:
- The agent.
-
getPluginComponent
public IFuture<java.lang.String> getPluginComponent()
Get the plugin component (html).- Returns:
- The plugin code.
-
internalLoadResource
public java.lang.String internalLoadResource(java.lang.String name)
Load a resource per resource name.
-
loadResource
public IFuture<byte[]> loadResource(java.lang.String filename)
Load a string-based ressource (style or js).- Parameters:
filename
- The filename.- Returns:
- The text from the file.
-
getPluginName
public abstract IFuture<java.lang.String> getPluginName()
Get the plugin name.- Returns:
- The plugin name.
-
getPriority
public abstract IFuture<java.lang.Integer> getPriority()
Get the plugin priority.- Returns:
- The plugin priority.
-
getPluginUIPath
public abstract java.lang.String getPluginUIPath()
Get the plugin UI path.- Returns:
- The plugin ui path.
-
-