Package org.pentaho.platform.config
Class MondrianConfigProperties
- java.lang.Object
-
- org.pentaho.platform.config.MondrianConfigProperties
-
- All Implemented Interfaces:
IMondrianConfig
public class MondrianConfigProperties extends Object implements IMondrianConfig
-
-
Constructor Summary
Constructors Constructor Description MondrianConfigProperties()
MondrianConfigProperties(File propertiesFile)
MondrianConfigProperties(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getCacheHitCounters()
boolean
getIgnoreInvalidMembers()
String
getLogFileLocation()
Properties
getProperties()
Integer
getQueryLimit()
Integer
getQueryTimeout()
Integer
getResultLimit()
Integer
getTraceLevel()
void
setCacheHitCounters(boolean enabled)
void
setIgnoreInvalidMembers(boolean ignore)
void
setLogFileLocation(String location)
void
setQueryLimit(Integer limit)
void
setQueryTimeout(Integer timeout)
void
setResultLimit(Integer limit)
void
setTraceLevel(Integer level)
-
-
-
Constructor Detail
-
MondrianConfigProperties
public MondrianConfigProperties(File propertiesFile) throws IOException
- Throws:
IOException
-
MondrianConfigProperties
public MondrianConfigProperties(Properties properties) throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
-
MondrianConfigProperties
public MondrianConfigProperties()
-
-
Method Detail
-
getProperties
public Properties getProperties()
-
getResultLimit
public Integer getResultLimit()
- Specified by:
getResultLimit
in interfaceIMondrianConfig
-
setResultLimit
public void setResultLimit(Integer limit)
- Specified by:
setResultLimit
in interfaceIMondrianConfig
-
getTraceLevel
public Integer getTraceLevel()
- Specified by:
getTraceLevel
in interfaceIMondrianConfig
-
setTraceLevel
public void setTraceLevel(Integer level)
- Specified by:
setTraceLevel
in interfaceIMondrianConfig
-
getLogFileLocation
public String getLogFileLocation()
- Specified by:
getLogFileLocation
in interfaceIMondrianConfig
-
setLogFileLocation
public void setLogFileLocation(String location)
- Specified by:
setLogFileLocation
in interfaceIMondrianConfig
-
getQueryLimit
public Integer getQueryLimit()
- Specified by:
getQueryLimit
in interfaceIMondrianConfig
-
setQueryLimit
public void setQueryLimit(Integer limit)
- Specified by:
setQueryLimit
in interfaceIMondrianConfig
-
getQueryTimeout
public Integer getQueryTimeout()
- Specified by:
getQueryTimeout
in interfaceIMondrianConfig
-
setQueryTimeout
public void setQueryTimeout(Integer timeout)
- Specified by:
setQueryTimeout
in interfaceIMondrianConfig
-
getIgnoreInvalidMembers
public boolean getIgnoreInvalidMembers()
- Specified by:
getIgnoreInvalidMembers
in interfaceIMondrianConfig
-
setIgnoreInvalidMembers
public void setIgnoreInvalidMembers(boolean ignore)
- Specified by:
setIgnoreInvalidMembers
in interfaceIMondrianConfig
-
getCacheHitCounters
public boolean getCacheHitCounters()
- Specified by:
getCacheHitCounters
in interfaceIMondrianConfig
-
setCacheHitCounters
public void setCacheHitCounters(boolean enabled)
-
-