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.ObjectBase 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.DescriptiongetDescription()intgetLine()java.lang.ObjectgetMetadata()java.lang.StringgetName()PgetParent()RgetReflection()booleanisStub()voidsetDescription(org.junit.runner.Description description)voidsetLine(int line)voidsetMetadata(java.lang.Object metadata)voidsetName(java.lang.String name)voidsetParent(P parent)voidsetReflection(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()
-
-