@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Demo
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
categories
Optional markers for the categories, this demo belongs to.
|
java.lang.String |
description
An optional description for the demo, that might be displayed in a demo
runner application.
|
long |
timeout
Optionally specify
timeout in milliseconds to cause a demo
method to fail if it takes longer than that number of milliseconds. |
public abstract long timeout
timeout
in milliseconds to cause a demo
method to fail if it takes longer than that number of milliseconds.public abstract java.lang.String description
public abstract java.lang.String[] categories
There are no marker names defined by the framework.
Example: { "test", "screenshot" }
might indicate, that the demo is being used for testing and for
automatically generating screenshots.
JDemo homepage: http://www.jdemo.de
Copyright © 2003-2012 Markus Gebhard. All Rights Reserved.