Package org.jbpm.designer.web.plugin
Interface IDiagramPlugin
-
- All Known Implementing Classes:
LocalPluginImpl
public interface IDiagramPluginThe interface defining a plugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamgetContents()StringgetName()Map<String,Object>getProperties()booleanisCompressable()booleanisCore()
-
-
-
Method Detail
-
getName
String getName()
- Returns:
- the name of the plugin. The name of the plugin should be unique amongst all plugins, so you should make sure to qualify it.
-
getContents
InputStream getContents()
- Returns:
- the contents of a plugin.
The contents of the plugin file.
The object returned by this method MUST be closed explicitely.
-
isCore
boolean isCore()
- Returns:
- true if the plugin should be considered a core plugin and loaded for all profiles.
-
isCompressable
boolean isCompressable()
- Returns:
- true if the contents of the plugin can be compressed.
-
-