Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Relation |
build()
Build a Relation instance.
|
Relation.Builder |
from(Relation value)
Create a builder from a Relation instance.
|
Relation.Builder |
lag(Duration value)
Add the lag.
|
Relation.Builder |
notes(String value)
Add notes.
|
Relation.Builder |
predecessorTask(Task value)
Add the predecessor task.
|
Relation.Builder |
sourceTask(Task value)
Deprecated.
use predecessorTask() or successorTask()
|
Relation.Builder |
successorTask(Task value)
Add the successor task.
|
Relation.Builder |
targetTask(Task value)
Deprecated.
use predecessorTask() or successorTask()
|
Relation.Builder |
type(RelationType value)
Add the type.
|
Relation.Builder |
uniqueID(Integer value)
Add the unique ID.
|
public Relation.Builder from(Relation value)
value
- relation instancepublic Relation.Builder uniqueID(Integer value)
value
- unique ID@Deprecated public Relation.Builder sourceTask(Task value)
value
- source task@Deprecated public Relation.Builder targetTask(Task value)
value
- target taskpublic Relation.Builder predecessorTask(Task value)
value
- predecessor taskpublic Relation.Builder successorTask(Task value)
value
- successor taskpublic Relation.Builder type(RelationType value)
value
- typepublic Relation.Builder lag(Duration value)
value
- lagpublic Relation.Builder notes(String value)
value
- notespublic Relation build()
Copyright © 2000–2024 Packwood Software. All rights reserved.