org.jboss.reliance.drools.deployer
Enum InputTypeInfo

java.lang.Object
  extended by java.lang.Enum<InputTypeInfo>
      extended by org.jboss.reliance.drools.deployer.InputTypeInfo
All Implemented Interfaces:
Serializable, Comparable<InputTypeInfo>

public enum InputTypeInfo
extends Enum<InputTypeInfo>

InputType info.

Author:
Ales Justin

Enum Constant Summary
CSV
           
XSL
           
 
Method Summary
 String getSuffix()
          Get the input type suffix.
 org.drools.decisiontable.InputType getType()
          Get the InputType.
static InputTypeInfo valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InputTypeInfo[] 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

CSV

public static final InputTypeInfo CSV

XSL

public static final InputTypeInfo XSL
Method Detail

values

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

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

valueOf

public static InputTypeInfo 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

getType

public org.drools.decisiontable.InputType getType()
Get the InputType.

Returns:
input type

getSuffix

public String getSuffix()
Get the input type suffix.

Returns:
the suffix


Copyright © 2008 JBoss Inc.. All Rights Reserved.