public class TestDetails extends java.lang.Object implements java.lang.Comparable<TestDetails>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CONTENT_PROPERTY
The name of the JSON property name for
content . |
protected static java.lang.String |
LAST_CHANGED_TIMESTAMP_PROPERTY
The name of the JSON property name for
lastChangedTimestamp . |
protected static java.lang.String |
SOURCE_PATH_PROPERTY
The name of the JSON property name for
sourcePath . |
protected static java.lang.String |
UNIFORM_PATH_PROPERTY
The name of the JSON property name for
uniformPath . |
java.lang.String |
uniformPath
The uniform path the test (unescaped and without -test- prefix).
|
Constructor and Description |
---|
TestDetails(java.lang.String uniformPath,
java.lang.String content) |
TestDetails(java.lang.String uniformPath,
java.lang.String sourcePath,
java.lang.String content) |
TestDetails(java.lang.String uniformPath,
java.lang.String sourcePath,
java.lang.String content,
long lastChangedTimestamp) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TestDetails other) |
boolean |
equals(java.lang.Object o)
We explicitly don't check
lastChangedTimestamp here. |
java.lang.String |
getContent() |
long |
getLastChangedTimestamp() |
java.lang.String |
getSourcePath() |
int |
hashCode()
We explicitly don't check
lastChangedTimestamp here. |
void |
setContent(java.lang.String content) |
void |
setLastChangedTimestamp(long lastChangedTimestamp) |
void |
setSourcePath(java.lang.String sourcePath) |
java.lang.String |
toString() |
UniformPath |
toUniformPath()
Compute the test execution path.
|
protected static final java.lang.String UNIFORM_PATH_PROPERTY
uniformPath
.protected static final java.lang.String SOURCE_PATH_PROPERTY
sourcePath
.protected static final java.lang.String CONTENT_PROPERTY
content
.protected static final java.lang.String LAST_CHANGED_TIMESTAMP_PROPERTY
lastChangedTimestamp
.public java.lang.String uniformPath
public TestDetails(java.lang.String uniformPath, java.lang.String content)
public TestDetails(java.lang.String uniformPath, java.lang.String sourcePath, java.lang.String content)
public TestDetails(java.lang.String uniformPath, java.lang.String sourcePath, java.lang.String content, long lastChangedTimestamp)
public int compareTo(@Nonnull TestDetails other)
compareTo
in interface java.lang.Comparable<TestDetails>
public boolean equals(java.lang.Object o)
lastChangedTimestamp
here.equals
in class java.lang.Object
public int hashCode()
lastChangedTimestamp
here.hashCode
in class java.lang.Object
public UniformPath toUniformPath()
public java.lang.String getSourcePath()
sourcePath
public void setSourcePath(java.lang.String sourcePath)
sourcePath
public java.lang.String getContent()
content
public void setContent(java.lang.String content)
content
public long getLastChangedTimestamp()
lastChangedTimestamp
public void setLastChangedTimestamp(long lastChangedTimestamp)
lastChangedTimestamp
public java.lang.String toString()
toString
in class java.lang.Object