no.sesat.search.run.handler
Enum FederatorRunHandlerConfig.Blend

java.lang.Object
  extended by java.lang.Enum<FederatorRunHandlerConfig.Blend>
      extended by no.sesat.search.run.handler.FederatorRunHandlerConfig.Blend
All Implemented Interfaces:
Serializable, Comparable<FederatorRunHandlerConfig.Blend>
Enclosing class:
FederatorRunHandlerConfig

public static enum FederatorRunHandlerConfig.Blend
extends Enum<FederatorRunHandlerConfig.Blend>


Enum Constant Summary
RANDOM
          Random mixture of command result's inserted.
ROBIN
          Insert first result from first command, then first from second, etc, then second from first, etc.
SEQUEL
          Insert all results from first command, then all result from second command, and so on.
 
Method Summary
static FederatorRunHandlerConfig.Blend valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FederatorRunHandlerConfig.Blend[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SEQUEL

public static final FederatorRunHandlerConfig.Blend SEQUEL
Insert all results from first command, then all result from second command, and so on.


ROBIN

public static final FederatorRunHandlerConfig.Blend ROBIN
Insert first result from first command, then first from second, etc, then second from first, etc. not implemented yet.


RANDOM

public static final FederatorRunHandlerConfig.Blend RANDOM
Random mixture of command result's inserted. Results from the same command are still ordered. not implemented yet.

Method Detail

values

public static FederatorRunHandlerConfig.Blend[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FederatorRunHandlerConfig.Blend c : FederatorRunHandlerConfig.Blend.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FederatorRunHandlerConfig.Blend valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.