public class RuntimePresenterHelper extends Object
Constructor and Description |
---|
RuntimePresenterHelper() |
Modifier and Type | Method and Description |
---|---|
static Collection<String> |
buildIconStyle(PipelineStatus status)
Builds the list of css classes for configuring the runtime icon given the pipeline status.
|
static Collection<String> |
buildIconStyle(RuntimeStatus status)
Builds the list of css classes for configuring the runtime icon given the runtime status.
|
static RuntimeStatus |
buildRuntimeStatus(String status)
Transform the runtime status into a runtime value representable in the UI.
|
static State |
buildStageState(PipelineStatus stageStatus)
Gets the stage state to set in the UI given the PipelineStatus.
|
public static Collection<String> buildIconStyle(PipelineStatus status)
status
- pipeline status for the calculation.public static RuntimeStatus buildRuntimeStatus(String status)
status
- the runtime status.public static Collection<String> buildIconStyle(RuntimeStatus status)
status
- runtime status for the calculation.public static State buildStageState(PipelineStatus stageStatus)
stageStatus
- the stage status to represent in the UI.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.