public class Element extends Object implements Serializable, Comparable<Element>
| Modifier and Type | Field and Description |
|---|---|
protected Attributes |
attributes |
protected List<Element> |
containedComponents |
protected IdentifyingAttributes |
identifyingAttributes |
protected String |
retestId |
protected Screenshot |
screenshot |
protected static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
Element() |
|
Element(String retestId,
IdentifyingAttributes identifyingAttributes,
Attributes attributes) |
|
Element(String retestId,
IdentifyingAttributes identifyingAttributes,
Attributes attributes,
Element... containedComponents) |
|
Element(String retestId,
IdentifyingAttributes identifyingAttributes,
Attributes attributes,
List<Element> containedComponents) |
|
Element(String retestId,
IdentifyingAttributes identifyingAttributes,
Attributes attributes,
List<Element> containedComponents,
Screenshot screenshot) |
|
Element(String retestId,
IdentifyingAttributes identifyingAttributes,
Attributes attributes,
Screenshot screenshot) |
| Modifier and Type | Method and Description |
|---|---|
Element |
applyChanges(ActionChangeSet actionChangeSet) |
int |
compareTo(Element other) |
int |
countAllContainedElements() |
protected List<Element> |
createNewComponentList(ActionChangeSet actionChangeSet,
IdentifyingAttributes newIdentAttributes) |
boolean |
equals(Object obj) |
Attributes |
getAttributes() |
List<Element> |
getContainedElements() |
Element |
getElement(Path path) |
IdentifyingAttributes |
getIdentifyingAttributes() |
String |
getRetestId() |
Screenshot |
getScreenshot() |
boolean |
hasContainedElements() |
int |
hashCode() |
void |
setScreenshot(Screenshot screenshot) |
String |
toString() |
protected static final long serialVersionUID
protected final String retestId
protected final IdentifyingAttributes identifyingAttributes
protected final Attributes attributes
protected Screenshot screenshot
protected Element()
public Element(String retestId, IdentifyingAttributes identifyingAttributes, Attributes attributes)
public Element(String retestId, IdentifyingAttributes identifyingAttributes, Attributes attributes, Element... containedComponents)
public Element(String retestId, IdentifyingAttributes identifyingAttributes, Attributes attributes, List<Element> containedComponents)
public Element(String retestId, IdentifyingAttributes identifyingAttributes, Attributes attributes, Screenshot screenshot)
public Element(String retestId, IdentifyingAttributes identifyingAttributes, Attributes attributes, List<Element> containedComponents, Screenshot screenshot)
public int compareTo(Element other)
compareTo in interface Comparable<Element>public IdentifyingAttributes getIdentifyingAttributes()
public boolean hasContainedElements()
public Screenshot getScreenshot()
public void setScreenshot(Screenshot screenshot)
public Attributes getAttributes()
public Element applyChanges(ActionChangeSet actionChangeSet)
protected List<Element> createNewComponentList(ActionChangeSet actionChangeSet, IdentifyingAttributes newIdentAttributes)
public int countAllContainedElements()
public String getRetestId()
Copyright © 2018 ReTest GmbH. All rights reserved.