public class PluginProperties extends Object
Constructor and Description |
---|
PluginProperties(File file,
String className,
int type,
String version)
Construct plugin properties object.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
getClassName.
|
File |
getFile()
File getter.
|
IQuimpCorePlugin |
getRef()
Return reference of loaded plugin or null if plugin is not used.
|
int |
getType()
Type getter.
|
String |
getVersion()
Version getter.
|
void |
setRef(IQuimpCorePlugin ref)
Set reference to plugin.
|
String |
toString() |
public PluginProperties(File file, String className, int type, String version)
file
- Reference to plugin fileclassName
- Qualified class name of plugintype
- Type of plugin returned by IQuimpPlugin.setup() methodversion
- Version of plugin returned from IQuimpPlugin.getVersion() methodpublic String getVersion()
public String getClassName()
public File getFile()
public int getType()
public IQuimpCorePlugin getRef()
public void setRef(IQuimpCorePlugin ref)
ref
- plugin reference returned by PluginFactory.getPluginInstanceCopyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.