mondrian.test
Class DynamicSchemaProcessorTest.CheckJdbcPropertyDsp

java.lang.Object
  extended by mondrian.test.DynamicSchemaProcessorTest.BaseDsp
      extended by mondrian.test.DynamicSchemaProcessorTest.CheckJdbcPropertyDsp
All Implemented Interfaces:
DynamicSchemaProcessor
Enclosing class:
DynamicSchemaProcessorTest

public static class DynamicSchemaProcessorTest.CheckJdbcPropertyDsp
extends DynamicSchemaProcessorTest.BaseDsp

Ensures we have access to the JDBC URL. Note, since Foodmart can run on multiple databases all we check in schema name is the first four characters (JDBC)

Author:
ngoodman

Field Summary
static String RETURNFALSESTRING
           
static String RETURNTRUESTRING
           
 
Fields inherited from class mondrian.test.DynamicSchemaProcessorTest.BaseDsp
replaceToken
 
Constructor Summary
DynamicSchemaProcessorTest.CheckJdbcPropertyDsp()
           
 
Method Summary
 String processSchema(String schemaUrl, Util.PropertyList connectInfo)
          Modifies a Mondrian schema.
 
Methods inherited from class mondrian.test.DynamicSchemaProcessorTest.BaseDsp
getSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RETURNTRUESTRING

public static String RETURNTRUESTRING

RETURNFALSESTRING

public static String RETURNFALSESTRING
Constructor Detail

DynamicSchemaProcessorTest.CheckJdbcPropertyDsp

public DynamicSchemaProcessorTest.CheckJdbcPropertyDsp()
Method Detail

processSchema

public String processSchema(String schemaUrl,
                            Util.PropertyList connectInfo)
                     throws Exception
Description copied from interface: DynamicSchemaProcessor
Modifies a Mondrian schema.

An implementation should generally interpret the URL string as an Apache VFS (virtual file system) URL.

Specified by:
processSchema in interface DynamicSchemaProcessor
Overrides:
processSchema in class DynamicSchemaProcessorTest.BaseDsp
Parameters:
schemaUrl - the URL of the catalog
connectInfo - Connection properties
Returns:
the modified schema
Throws:
Exception - if an error occurs

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads