public class Instances extends java.lang.Object implements XMLable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
SPAWN_COUNT_ASSIGNEE_COUNT
Number of spawned instances should be equal to the number of possible
assignees in the assignment pool.
|
static int |
SPAWN_COUNT_CONSTANT
Number of spawned instances is specified using a constant.
|
static int |
SPAWN_COUNT_EXPRESSION
Number of spawned instances is specified using an expression.
|
static int |
SPAWN_COUNT_PV_LENGTH
Number of spawned instances is specified as number of values in a Process
Variable of type multiple elements (eg Array, Vector).
|
static int |
SPAWN_COUNT_PV_VALUE
Number of spawned instances is specified using a process variable, whose
value evaluates to a number
|
DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
Instances() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpression() |
java.lang.Integer |
getInstanceType() |
boolean |
getNextSpawnNew()
Returns whether multiple instances of nodes should be created.
|
void |
setExpression(java.lang.String expression_)
Sets the expression about how to spawn multiple instances of node.
|
void |
setInstanceType(java.lang.Integer instanceType_)
Sets how the number of instances is specified.
|
void |
setNextSpawnNew(boolean nextSpawnType_)
Sets Whether many instances of nodes should be created
|
java.lang.String |
toXML()
Generates an XML representation of this object (including all
child objects).
|
void |
toXML(java.lang.StringBuilder buffer_)
Appends the XML representation of the
Instances to the given
buffer. |
public static final int SPAWN_COUNT_CONSTANT
public static final int SPAWN_COUNT_PV_VALUE
public static final int SPAWN_COUNT_PV_LENGTH
public static final int SPAWN_COUNT_ASSIGNEE_COUNT
public static final int SPAWN_COUNT_EXPRESSION
public java.lang.String getExpression()
public void setExpression(java.lang.String expression_)
public java.lang.Integer getInstanceType()
public void setInstanceType(java.lang.Integer instanceType_)
public java.lang.String toXML()
XMLable
StringBuilder
and call
toXML( StringBuilder )
on it.public void toXML(java.lang.StringBuilder buffer_)
Instances
to the given
buffer.public boolean getNextSpawnNew()
true
if multiple instances are to be created,
false
otherwise.public void setNextSpawnNew(boolean nextSpawnType_)
nextSpawnType_
- true
if many instances of nodes are to
spwaned, false
otherwise.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.