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