public abstract class ResourceMetaData extends Object
Resource.| Constructor and Description |
|---|
ResourceMetaData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getOptionalDescription() |
ResourceType |
getResourceType() |
org.jboss.arquillian.test.spi.TestClass |
getTestClass() |
String |
getTestClassName() |
Method |
getTestMethod() |
String |
getTestMethodName() |
org.jboss.arquillian.test.spi.TestResult |
getTestResult() |
long |
getTimeStamp() |
int |
hashCode() |
void |
setOptionalDescription(String optionalDescription)
Sets optional description of the resource
|
void |
setResourceType(ResourceType resourceType)
Sets the type of the resource, that is e.g.
|
ResourceMetaData |
setTestClass(org.jboss.arquillian.test.spi.TestClass testClass)
Sets a class for some particular
Resource where that resource was created. |
ResourceMetaData |
setTestMethod(Method testMethod)
Sets a test method for some particular
Resource where that resource was created. |
ResourceMetaData |
setTestResult(org.jboss.arquillian.test.spi.TestResult testResult)
Sets a TestResult for some particular
Resource where that resource was created. |
ResourceMetaData |
setTimeStamp(long timeStamp)
Time stamp specifying when some particular
Resource was created. |
String |
toString() |
public String getTestClassName()
public org.jboss.arquillian.test.spi.TestClass getTestClass()
public ResourceMetaData setTestClass(org.jboss.arquillian.test.spi.TestClass testClass)
Resource where that resource was created.testClass - test class where some resource was createdthisIllegalArgumentException - if TestClass is a null objectpublic String getTestMethodName()
public Method getTestMethod()
public ResourceMetaData setTestMethod(Method testMethod)
Resource where that resource was created.testMethod - test method where some resource was createdthisIllegalArgumentException - if testMethod is a null object.public long getTimeStamp()
public ResourceMetaData setTimeStamp(long timeStamp)
Resource was created.timeStamp - UNIX time stamp to setthispublic ResourceMetaData setTestResult(org.jboss.arquillian.test.spi.TestResult testResult)
Resource where that resource was created.testResult - class which contains information whether test was failed, passed or skippedthisIllegalArgumentException - if TestResult is a null objectpublic org.jboss.arquillian.test.spi.TestResult getTestResult()
TestResult or null if not setpublic ResourceType getResourceType()
public String getOptionalDescription()
public void setOptionalDescription(String optionalDescription)
optionalDescription - description of this resourcepublic void setResourceType(ResourceType resourceType)
resourceType - type of the resourceCopyright © 2014–2015 JBoss by Red Hat. All rights reserved.