public class Link
extends java.lang.Object
Graph
object that Flo will display as a block.Modifier and Type | Field and Description |
---|---|
java.lang.String |
from |
java.util.Map<java.lang.String,java.lang.String> |
properties
Properties on a link can capture the name of a potential transition that
would lead to this link being taken when the 'from' job completes.
|
java.lang.String |
to |
Constructor and Description |
---|
Link(int sourceId,
int targetId) |
Link(int sourceId,
int targetId,
java.lang.String transitionName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTransitionName() |
boolean |
hasTransitionSet() |
java.lang.String |
toString() |
void |
updateFrom(java.lang.String newFrom) |
void |
updateTo(java.lang.String newTo) |
public java.lang.String from
public java.lang.String to
public java.util.Map<java.lang.String,java.lang.String> properties
public Link(int sourceId, int targetId)
public Link(int sourceId, int targetId, java.lang.String transitionName)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean hasTransitionSet()
public java.lang.String getTransitionName()
public void updateFrom(java.lang.String newFrom)
public void updateTo(java.lang.String newTo)