public class Conflict extends BaseElement
Modifier and Type | Class and Description |
---|---|
static class |
Conflict.DecisionType
The available decisions to solve the conflict.
|
Constructor and Description |
---|
Conflict(String conflictReference)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Conflict.DecisionType |
getCurrentDecision() |
String |
getDecisionChange() |
boolean |
isDecisionChangeEmpty() |
void |
setCustomValue(String customValue)
Take a custom decision with a default value.
|
void |
setDecision(Conflict.DecisionType type)
Change the decision with the given type.
|
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public Conflict(String conflictReference)
conflictReference
- the reference of the conflict.public String getDecisionChange()
public boolean isDecisionChangeEmpty()
true
if the current decision value is empty, i.e. it announces that the inserted value will be
removed.public void setDecision(Conflict.DecisionType type)
type
- the decision to be taken.public Conflict.DecisionType getCurrentDecision()
public void setCustomValue(String customValue)
customValue
- the value for the custom decision.Copyright © 2004–2021 XWiki. All rights reserved.