public class TokenFlow extends Object
Constructor and Description |
---|
TokenFlow(Integer targetActivityIndex,
int index)
Default constructor with target activity index.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the index of the flow.
|
double |
getProbability()
Probability [0-1) of this flow to be taken.
|
Integer |
getTargetActivityIndex()
Returns the index of the target activity for the flow.
|
void |
setIndex(int index) |
void |
setProbability(double probability) |
void |
setTargetActivityIndex(Integer targetActivityIndex) |
public TokenFlow(Integer targetActivityIndex, int index)
targetActivityIndex
- index of the target activity.public void setIndex(int index)
public int getIndex()
public void setTargetActivityIndex(Integer targetActivityIndex)
public Integer getTargetActivityIndex()
public void setProbability(double probability)
public double getProbability()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.