public class FeatureInfo extends NodeInfo<SpecInfo,java.lang.reflect.AnnotatedElement> implements ISkippable, IExcludable, IInterceptable
Constructor and Description |
---|
FeatureInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addBlock(BlockInfo block) |
void |
addDataProvider(DataProviderInfo dataProvider) |
void |
addInterceptor(IMethodInterceptor interceptor) |
void |
addIterationInterceptor(IMethodInterceptor interceptor) |
void |
addParameterName(java.lang.String parameterName) |
java.util.List<BlockInfo> |
getBlocks() |
MethodInfo |
getDataProcessorMethod() |
java.util.List<DataProviderInfo> |
getDataProviders() |
java.util.List<java.lang.String> |
getDataVariables() |
int |
getDeclarationOrder() |
int |
getExecutionOrder() |
MethodInfo |
getFeatureMethod() |
java.util.List<IMethodInterceptor> |
getInterceptors() |
java.util.List<IMethodInterceptor> |
getIterationInterceptors() |
NameProvider<IterationInfo> |
getIterationNameProvider() |
java.util.List<java.lang.String> |
getParameterNames() |
java.lang.reflect.AnnotatedElement |
getReflection() |
boolean |
hasBytecodeName(java.lang.String name)
Tells if any of the methods associated with this feature has the specified
name in bytecode.
|
boolean |
isExcluded() |
boolean |
isParameterized() |
boolean |
isReportIterations() |
boolean |
isSkipped() |
void |
setDataProcessorMethod(MethodInfo method) |
void |
setDeclarationOrder(int declarationOrder) |
void |
setExcluded(boolean excluded) |
void |
setExecutionOrder(int executionOrder) |
void |
setFeatureMethod(MethodInfo method) |
void |
setIterationNameProvider(NameProvider<IterationInfo> provider) |
void |
setReportIterations(boolean flag) |
void |
setSkipped(boolean skipped) |
getDescription, getLine, getMetadata, getName, getParent, isStub, setDescription, setLine, setMetadata, setName, setParent, setReflection
public java.lang.reflect.AnnotatedElement getReflection()
getReflection
in class NodeInfo<SpecInfo,java.lang.reflect.AnnotatedElement>
public int getDeclarationOrder()
public void setDeclarationOrder(int declarationOrder)
public int getExecutionOrder()
public void setExecutionOrder(int executionOrder)
public java.util.List<java.lang.String> getParameterNames()
public void addParameterName(java.lang.String parameterName)
public java.util.List<java.lang.String> getDataVariables()
public java.util.List<BlockInfo> getBlocks()
public void addBlock(BlockInfo block)
public java.util.List<IMethodInterceptor> getInterceptors()
getInterceptors
in interface IInterceptable
public void addInterceptor(IMethodInterceptor interceptor)
addInterceptor
in interface IInterceptable
public java.util.List<IMethodInterceptor> getIterationInterceptors()
public void addIterationInterceptor(IMethodInterceptor interceptor)
public MethodInfo getFeatureMethod()
public void setFeatureMethod(MethodInfo method)
public MethodInfo getDataProcessorMethod()
public void setDataProcessorMethod(MethodInfo method)
public java.util.List<DataProviderInfo> getDataProviders()
public void addDataProvider(DataProviderInfo dataProvider)
public boolean isParameterized()
public boolean isReportIterations()
public void setReportIterations(boolean flag)
public NameProvider<IterationInfo> getIterationNameProvider()
public void setIterationNameProvider(NameProvider<IterationInfo> provider)
public boolean isExcluded()
isExcluded
in interface IExcludable
public void setExcluded(boolean excluded)
setExcluded
in interface IExcludable
public boolean isSkipped()
isSkipped
in interface ISkippable
public void setSkipped(boolean skipped)
setSkipped
in interface ISkippable
public boolean hasBytecodeName(java.lang.String name)
name
- a method name in bytecodeCopyright © 2012. All rights reserved