public abstract class AbstractDslContingenciesProvider extends Object implements ContingenciesProvider
Modifier and Type | Field and Description |
---|---|
protected groovy.lang.GroovyCodeSource |
script |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDslContingenciesProvider(InputStream input)
Creates a provider by reading the DSL content from a UTF-8 encoded input stream.
|
protected |
AbstractDslContingenciesProvider(Path path)
Creates a provider by reading the DSL from a UTF-8 encoded file.
|
Modifier and Type | Method and Description |
---|---|
String |
asScript() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContingencies
protected AbstractDslContingenciesProvider(Path path)
protected AbstractDslContingenciesProvider(InputStream input)
public String asScript()
asScript
in interface ContingenciesProvider
Copyright © 2020. All rights reserved.