org.jbpm.designer.web.plugin
Interface IDiagramPlugin
- All Known Implementing Classes:
- LocalPluginImpl
public interface IDiagramPlugin
The interface defining a plugin.
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.
getProperties
Map<String,Object> getProperties()
- Returns:
- the properties of the plugin
isCompressable
boolean isCompressable()
- Returns:
- true if the contents of the plugin can be compressed.
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.