com.indeed.proctor.consumer
Class CannedProctorResult<T extends Bucket<?>>

java.lang.Object
  extended by com.indeed.proctor.consumer.CannedProctorResult<T>

public class CannedProctorResult<T extends Bucket<?>>
extends Object

For unit testing

Author:
matts

Field Summary
 Payload payload
           
 T testVal
           
 
Constructor Summary
CannedProctorResult(T testVal, Payload payload)
           
 
Method Summary
static
<T extends Bucket<?>>
CannedProctorResult
of(T testVal)
           
static
<T extends Bucket<?>>
CannedProctorResult
of(T testVal, Payload payload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testVal

@Nonnull
public final T extends Bucket<?> testVal

payload

@Nullable
public final Payload payload
Constructor Detail

CannedProctorResult

public CannedProctorResult(@Nonnull
                           T testVal,
                           @Nullable
                           Payload payload)
Method Detail

of

public static <T extends Bucket<?>> CannedProctorResult of(@Nonnull
                                                           T testVal)

of

public static <T extends Bucket<?>> CannedProctorResult of(@Nonnull
                                                           T testVal,
                                                           @Nullable
                                                           Payload payload)


Copyright © 2014. All Rights Reserved.