com.liferay.portal.kernel.bi.reporting
Enum ReportDataSourceType

java.lang.Object
  extended by java.lang.Enum<ReportDataSourceType>
      extended by com.liferay.portal.kernel.bi.reporting.ReportDataSourceType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReportDataSourceType>

public enum ReportDataSourceType
extends java.lang.Enum<ReportDataSourceType>

View Source

Author:
Gavin Wan

Enum Constant Summary
JASPER_CSV
           
JASPER_EMPTY
           
JASPER_XML
           
JDBC
           
PORTAL
           
 
Method Summary
static ReportDataSourceType parse(java.lang.String value)
           
 java.lang.String toString()
           
static ReportDataSourceType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ReportDataSourceType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JASPER_CSV

public static final ReportDataSourceType JASPER_CSV

JASPER_EMPTY

public static final ReportDataSourceType JASPER_EMPTY

JASPER_XML

public static final ReportDataSourceType JASPER_XML

JDBC

public static final ReportDataSourceType JDBC

PORTAL

public static final ReportDataSourceType PORTAL
Method Detail

values

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

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

valueOf

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

parse

public static ReportDataSourceType parse(java.lang.String value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ReportDataSourceType>