Package org.spockframework.runtime.model
Class NodeInfo<P extends NodeInfo,R extends AnnotatedElement>
java.lang.Object
org.spockframework.runtime.model.NodeInfo<P,R>
- Direct Known Subclasses:
DataProviderInfo
,FeatureInfo
,FieldInfo
,IterationInfo
,MethodInfo
,SpecInfo
Base class for runtime information about an element in a Spock specification.
- Author:
- Peter Niederwieser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runner.Description
int
getLine()
getName()
boolean
isStub()
void
setDescription
(org.junit.runner.Description description) void
setLine
(int line) void
setMetadata
(Object metadata) void
void
void
setReflection
(R reflection)
-
Constructor Details
-
NodeInfo
public NodeInfo()
-
-
Method Details
-
getName
-
setName
-
getLine
public int getLine() -
setLine
public void setLine(int line) -
getParent
-
setParent
-
getReflection
-
setReflection
-
getMetadata
-
setMetadata
-
getDescription
public org.junit.runner.Description getDescription() -
setDescription
public void setDescription(org.junit.runner.Description description) -
isStub
public boolean isStub()
-