Interface SimpleProcessImageRenderer
-
- All Superinterfaces:
ADEPT2Service
public interface SimpleProcessImageRenderer extends ADEPT2Service
Service interface for getting template and instance process graphs rendered as images. The templates and instances are retrieved directly from the provided objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessImageData
renderInstance(Instance instance, RenderOptions options)
Gets the designated process instance as rendered image.ProcessImageData
renderTemplate(Template template, RenderOptions options)
Gets the designated process template as rendered image.-
Methods inherited from interface de.aristaflow.adept2.base.service.ADEPT2Service
getLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, init, ping, preShutdown, shutdown, start
-
-
-
-
Method Detail
-
renderTemplate
ProcessImageData renderTemplate(Template template, RenderOptions options)
Gets the designated process template as rendered image.- Parameters:
template
- The process template to render.options
- Various options for the rendering implementation. Usenull
to use the defaults of this service.- Returns:
- An image representing the designated process template.
-
renderInstance
ProcessImageData renderInstance(Instance instance, RenderOptions options)
Gets the designated process instance as rendered image.- Parameters:
instance
- The process instance to render. This has to contain the corresponding template.options
- Various options for the rendering implementation. Usenull
to use the defaults of this service.- Returns:
- An image representing the designated process instance.
-
-