public class TestDelay extends Object
Modifier and Type | Method and Description |
---|---|
static TestDelay |
fromDelay(org.joda.time.Duration skip)
Constructs test delay instance
|
static TestDelay |
fromMsgNr(int msgNr)
Constructs test delay instance
|
static TestDelay |
fromMsgNrAndSkip(int msgNr,
org.joda.time.Duration skip)
Constructs test delay instance
|
org.joda.time.Duration |
getDelay()
Gets test skip
|
Integer |
getMsgNr()
Gets msngr to start with
|
public static TestDelay fromDelay(org.joda.time.Duration skip)
skip
- interval to skippublic static TestDelay fromMsgNr(int msgNr)
msgNr
- msg nrpublic static TestDelay fromMsgNrAndSkip(int msgNr, org.joda.time.Duration skip)
msgNr
- msg nrskip
- interval to skippublic org.joda.time.Duration getDelay()
public Integer getMsgNr()
Copyright © 2013–2023. All rights reserved.