public class GlobalConfiguration extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
adjustStartPageNumber(Integer page) |
static Dialect |
dialect() |
Dialect |
getDialect() |
Function<Integer,Integer> |
getStartPageNumberAdjuster() |
static GlobalConfiguration |
instance() |
boolean |
isIgnoreCacheException() |
boolean |
isMapCamelCaseToUnderscore() |
void |
setDialect(Dialect dialect) |
void |
setIgnoreCacheException(boolean ignoreCacheException) |
void |
setMapCamelCaseToUnderscore(boolean mapCamelCaseToUnderscore) |
void |
setStartPageNumberAdjuster(Function<Integer,Integer> startPageNumberAdjuster) |
void |
setStartPageNumberFromOne(boolean startPageNumberFromOne) |
public static int adjustStartPageNumber(Integer page)
public static GlobalConfiguration instance()
public static Dialect dialect()
public void setStartPageNumberFromOne(boolean startPageNumberFromOne)
public boolean isMapCamelCaseToUnderscore()
public boolean isIgnoreCacheException()
public Dialect getDialect()
public void setMapCamelCaseToUnderscore(boolean mapCamelCaseToUnderscore)
public void setIgnoreCacheException(boolean ignoreCacheException)
public void setDialect(Dialect dialect)
Copyright © 2021 DOYToWin. All rights reserved.