org.electrocodeogram.cpc.imports.api.imports.strategy
Enum IImportFilterStrategy.Status

java.lang.Object
  extended by java.lang.Enum<IImportFilterStrategy.Status>
      extended by org.electrocodeogram.cpc.imports.api.imports.strategy.IImportFilterStrategy.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IImportFilterStrategy.Status>
Enclosing interface:
IImportFilterStrategy

public static enum IImportFilterStrategy.Status
extends java.lang.Enum<IImportFilterStrategy.Status>

Return status for the IImportFilterStrategy.filterImport(Map, Map) method.


Enum Constant Summary
BREAK
          The filter has finished and decided that no further filters should be executed.
CONTINUE
          The filter has finished and the next registered filter should continue with the processing and filtering of the clone results.
 
Method Summary
static IImportFilterStrategy.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IImportFilterStrategy.Status[] 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

CONTINUE

public static final IImportFilterStrategy.Status CONTINUE
The filter has finished and the next registered filter should continue with the processing and filtering of the clone results.


BREAK

public static final IImportFilterStrategy.Status BREAK
The filter has finished and decided that no further filters should be executed. Filter processing stops at this point.

Method Detail

values

public static IImportFilterStrategy.Status[] 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 (IImportFilterStrategy.Status c : IImportFilterStrategy.Status.values())
    System.out.println(c);

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

valueOf

public static IImportFilterStrategy.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null