Constructor and Description |
---|
TestCycleBuilder() |
Modifier and Type | Method and Description |
---|---|
TestCycle |
build() |
TestCycle.TestCycleBuilder |
withCycle(String cycle)
Sets cycle number.
|
TestCycle.TestCycleBuilder |
withElapsedTime(String elapsedTimeInMillSec)
Sets cycle duration.
|
TestCycle.TestCycleBuilder |
withId(String id)
Sets the id.
|
TestCycle.TestCycleBuilder |
withMessages(List<String> messages)
Sets cycle response messages.
|
TestCycle.TestCycleBuilder |
withRawCycleReport(String rawReport)
Sets raw JSON report.
|
TestCycle.TestCycleBuilder |
withStart(String start)
Sets cycle start moment as Date.
|
TestCycle.TestCycleBuilder |
withState(String state)
Sets cycle finish state.
|
TestCycle.TestCycleBuilder |
withStop(String stop)
Sets cycle stop moment as Date.
|
public TestCycle.TestCycleBuilder withId(String id)
id
- idpublic TestCycle.TestCycleBuilder withStart(String start)
start
- string timestamp in yyyy-MM-dd'T'HH:mm:ss-SSSS formatpublic TestCycle.TestCycleBuilder withStop(String stop)
stop
- string timestamp in yyyy-MM-dd'T'HH:mm:ss-SSSS formatpublic TestCycle.TestCycleBuilder withCycle(String cycle)
cycle
- cyclepublic TestCycle.TestCycleBuilder withState(String state)
state
- statepublic TestCycle.TestCycleBuilder withElapsedTime(String elapsedTimeInMillSec)
elapsedTimeInMillSec
- string test durationpublic TestCycle.TestCycleBuilder withMessages(List<String> messages)
messages
- messagespublic TestCycle.TestCycleBuilder withRawCycleReport(String rawReport)
rawReport
- jsonpublic TestCycle build()
Copyright © 2016–2022 CA Technologies. All rights reserved.