public class Screenshot extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
closeAll()
Close all tableaux, which will shutdown Kepler.
|
static void |
closeAllWhenDone(boolean close)
Set if should close all tableaux and shutdown after last screenshot.
|
static java.util.List<java.io.File> |
makeScreenshot(java.util.List<java.lang.String> workflows,
java.lang.String type,
java.util.List<java.lang.String> outputs,
java.lang.String outputDir,
boolean force)
Create screenshots of workflows.
|
public static java.util.List<java.io.File> makeScreenshot(java.util.List<java.lang.String> workflows, java.lang.String type, java.util.List<java.lang.String> outputs, java.lang.String outputDir, boolean force) throws java.lang.Exception
workflows
- the set of workflow filenames of which to create screenshotstype
- the screenshot image type. If a set of output filenames are
specified, this parameter must be null since the output filename extensions
specify the image type.outputs
- A set of output filenames. If this is null, then the output
directory and type must be specified. If this is not null, it must contain an
output image name for each workflow.outputDir
- The output directory in which to write the screenshot images.
If this is null, then the outputs must specify the output file names. Otherwise,
outputs must be null.force
- If true, always create screenshot images. Otherwise, the screenshot
images are only created if the output image does not exist or was last modified
before the workflow file was last modified.java.lang.Exception
public static void closeAllWhenDone(boolean close)
public static void closeAll() throws IllegalActionException
IllegalActionException