@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__SCESIM__org__drools__workbench__scenariosimulation__kogito__marshaller__js__model__JSIScenariosType", isNative=true) public class JSIScenariosType extends Object
ScenariosType
Constructor and Description |
---|
JSIScenariosType() |
Modifier and Type | Method and Description |
---|---|
<D extends JSIScenarioType> |
addAllScenario(D... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator
to the end of scenario
|
<D extends JSIScenarioType> |
addScenario(D element)
Appends the specified element to the end of scenario
|
static JSIName |
getJSIName()
Getter for specific
JSIName |
jsinterop.base.JsArrayLike<JSIScenarioType> |
getNativeScenario()
Native getter for scenario
|
List<JSIScenarioType> |
getScenario()
READ-ONLY getter for scenario as a
List |
String |
getTYPE_NAME()
Native getter for TYPE_NAME
|
static boolean |
instanceOf(Object instance) |
void |
removeScenario(int index)
Removes the element at the specified position in the scenario
|
void |
setNativeScenario(jsinterop.base.JsArrayLike<JSIScenarioType> scenarioParam)
Setter for scenario
|
void |
setScenario(List<JSIScenarioType> scenarioParam)
Setter for scenario as a
List |
@JsOverlay public static final String TYPE
@JsOverlay public static boolean instanceOf(Object instance)
@JsOverlay public static JSIName getJSIName()
JSIName
JSIName
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
@JsOverlay public final List<JSIScenarioType> getScenario()
List
List
@JsOverlay public final <D extends JSIScenarioType> void addScenario(D element)
element
- to be appended to scenario@JsOverlay public final <D extends JSIScenarioType> void addAllScenario(D... elements)
elements
- to be appended to scenario@JsOverlay public final void removeScenario(int index)
index
- of the element to be removed@JsProperty(name="scenario") public jsinterop.base.JsArrayLike<JSIScenarioType> getNativeScenario()
@JsOverlay public final void setScenario(List<JSIScenarioType> scenarioParam)
List
scenarioParam
- The scenario mapped as a List
@JsProperty(name="scenario") public final void setNativeScenario(jsinterop.base.JsArrayLike<JSIScenarioType> scenarioParam)
scenarioParam
- scenario to set.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.