org.spockframework.mock
Class SingleResultGenerator

java.lang.Object
  extended by org.spockframework.mock.SingleResultGenerator
All Implemented Interfaces:
IResultGenerator
Direct Known Subclasses:
CodeResultGenerator, ConstantResultGenerator, DefaultResultGenerator

public abstract class SingleResultGenerator
extends java.lang.Object
implements IResultGenerator


Constructor Summary
SingleResultGenerator()
           
 
Method Summary
 java.lang.Object generate(IMockInvocation invocation)
           
abstract  java.lang.Object generateSingle(IMockInvocation invocation)
           
 boolean isExhausted()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleResultGenerator

public SingleResultGenerator()
Method Detail

isExhausted

public boolean isExhausted()
Specified by:
isExhausted in interface IResultGenerator

generate

public final java.lang.Object generate(IMockInvocation invocation)
Specified by:
generate in interface IResultGenerator

generateSingle

public abstract java.lang.Object generateSingle(IMockInvocation invocation)


Copyright © 2013. All rights reserved