jBPM Designer - Backend 6.0.0.CR1

org.jbpm.designer.web.plugin
Interface IDiagramPlugin

All Known Implementing Classes:
LocalPluginImpl

public interface IDiagramPlugin

The interface defining a plugin.


Method Summary
 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.

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.

jBPM Designer - Backend 6.0.0.CR1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.