Class FeatureInfo

All Implemented Interfaces:
IExcludable, IInterceptable, ISkippable

public class FeatureInfo extends NodeInfo<SpecInfo,AnnotatedElement> implements ISkippable, IExcludable, IInterceptable
Author:
Peter Niederwieser
  • Constructor Details

    • FeatureInfo

      public FeatureInfo()
  • Method Details

    • getReflection

      public AnnotatedElement getReflection()
      Overrides:
      getReflection in class NodeInfo<SpecInfo,AnnotatedElement>
    • getDeclarationOrder

      public int getDeclarationOrder()
    • setDeclarationOrder

      public void setDeclarationOrder(int declarationOrder)
    • getExecutionOrder

      public int getExecutionOrder()
    • setExecutionOrder

      public void setExecutionOrder(int executionOrder)
    • getParameterNames

      public List<String> getParameterNames()
    • addParameterName

      public void addParameterName(String parameterName)
    • getDataVariables

      public List<String> getDataVariables()
    • getBlocks

      public List<BlockInfo> getBlocks()
    • addBlock

      public void addBlock(BlockInfo block)
    • getInterceptors

      public List<IMethodInterceptor> getInterceptors()
      Specified by:
      getInterceptors in interface IInterceptable
    • addInterceptor

      public void addInterceptor(IMethodInterceptor interceptor)
      Specified by:
      addInterceptor in interface IInterceptable
    • getIterationInterceptors

      public List<IMethodInterceptor> getIterationInterceptors()
    • addIterationInterceptor

      public void addIterationInterceptor(IMethodInterceptor interceptor)
    • getFeatureMethod

      public MethodInfo getFeatureMethod()
    • setFeatureMethod

      public void setFeatureMethod(MethodInfo method)
    • getDataProcessorMethod

      public MethodInfo getDataProcessorMethod()
    • setDataProcessorMethod

      public void setDataProcessorMethod(MethodInfo method)
    • getDataProviders

      public List<DataProviderInfo> getDataProviders()
    • addDataProvider

      public void addDataProvider(DataProviderInfo dataProvider)
    • isParameterized

      public boolean isParameterized()
    • isReportIterations

      public boolean isReportIterations()
    • setReportIterations

      public void setReportIterations(boolean flag)
    • getIterationNameProvider

      public NameProvider<IterationInfo> getIterationNameProvider()
    • setIterationNameProvider

      public void setIterationNameProvider(NameProvider<IterationInfo> provider)
    • isExcluded

      public boolean isExcluded()
      Specified by:
      isExcluded in interface IExcludable
    • setExcluded

      public void setExcluded(boolean excluded)
      Specified by:
      setExcluded in interface IExcludable
    • isSkipped

      public boolean isSkipped()
      Specified by:
      isSkipped in interface ISkippable
    • setSkipped

      public void setSkipped(boolean skipped)
      Specified by:
      setSkipped in interface ISkippable
    • hasBytecodeName

      public boolean hasBytecodeName(String name)
      Tells if any of the methods associated with this feature has the specified name in bytecode.
      Parameters:
      name - a method name in bytecode
      Returns:
      trueinvalid input: '<'/tt iff any of the methods associated with this feature has the specified name in bytecode