|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kex.controller.util.ExampleExport
public final class ExampleExport
A collection of example export functions.
Method Summary | |
---|---|
static void |
checkDuplicate(String exampleTitle,
ExampleCollector... collectors)
checks the collectors for given exampleTitle. |
static void |
exportInPlugin(Map<ExampleElement,Object> properties,
PluginExampleCreator extensionCreator)
extends a plugin with a new example. |
static Example |
mapToExample(Map<ExampleElement,Object> properties)
mapping of properties onto an example. |
static void |
validate(Map<ExampleElement,Object> map,
ExampleCollector... collectors)
Method for validating given map elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void validate(Map<ExampleElement,Object> map, ExampleCollector... collectors) throws KielerException
map
- , Map of ExampleElement
and an arbitrary Object
.collectors
- , ExampleCollector
s
KielerException
- , if any check fail a KielerException
will throw.public static void checkDuplicate(String exampleTitle, ExampleCollector... collectors) throws KielerException
KielerException
will
thrown.
exampleTitle
- , Stringcollectors
- , ExampleCollector
...
KielerException
- , throws if duplicate found.public static void exportInPlugin(Map<ExampleElement,Object> properties, PluginExampleCreator extensionCreator) throws KielerException
properties
- , Map
with ExampleElement
as key and an Object
as value.extensionCreator
- , PluginExampleCreator
KielerException
- , will be caused if some errors occurs.public static Example mapToExample(Map<ExampleElement,Object> properties)
properties
- , MaprootResource
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |