Package org.jbpm.designer.web.plugin
Interface IDiagramPlugin
-
- All Known Implementing Classes:
LocalPluginImpl
public interface IDiagramPlugin
The interface defining a plugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
getContents()
String
getName()
Map<String,Object>
getProperties()
boolean
isCompressable()
boolean
isCore()
-
-
-
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.
-
-