org.spockframework.runtime.model
Class NodeInfo<P extends NodeInfo,R extends java.lang.reflect.AnnotatedElement>

java.lang.Object
  extended by 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
NodeInfo()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInfo

public NodeInfo()
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()


Copyright © 2013. All rights reserved