public class CompileServerPlugin extends java.lang.Object implements PluginAware
BuildProcessParametersProvider
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<CompileServerPlugin> |
EP_NAME |
Constructor and Description |
---|
CompileServerPlugin() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClasspath()
Specifies semicolon-separated list of paths which should be added to the classpath of the compile server.
|
PluginDescriptor |
getPluginDescriptor() |
void |
setClasspath(java.lang.String classpath) |
void |
setPluginDescriptor(PluginDescriptor pluginDescriptor)
Called by extensions framework when extension is loaded from plugin.xml descriptor.
|
public static final ExtensionPointName<CompileServerPlugin> EP_NAME
public java.lang.String getClasspath()
Specifies semicolon-separated list of paths which should be added to the classpath of the compile server. The paths are relative to the plugin 'lib' directory.
In the development mode the name of each file without extension is treated as a module name and the output directory of the module is added to the classpath. If such file doesn't exists the jar is searched under 'lib' directory of the plugin sources home directory.
public void setClasspath(java.lang.String classpath)
public PluginDescriptor getPluginDescriptor()
public final void setPluginDescriptor(PluginDescriptor pluginDescriptor)
PluginAware
If this method is implemented in a bean class
extension point and it also exposes the stored plugin description via getPluginDescriptor
method, you must annotate the latter
with @Transient
to ensure that serialization engine won't try to deserialize this property.
setPluginDescriptor
in interface PluginAware
pluginDescriptor
- descriptor of the plugin that provided this particular extension.