public final class DatabaseFunction extends Object implements com.google.common.base.Function<Properties,com.google.common.base.Optional<Database>>
Constructor and Description |
---|
DatabaseFunction(org.kuali.common.util.project.model.Project project) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<Database> |
apply(Properties config) |
protected com.google.common.base.Optional<Database> |
getDatabase(String groupId,
Properties config) |
protected Database |
getOleDatabase(Properties config) |
org.kuali.common.util.project.model.Project |
getProject() |
protected String |
getVendor(String url) |
public DatabaseFunction(org.kuali.common.util.project.model.Project project)
public com.google.common.base.Optional<Database> apply(Properties config)
apply
in interface com.google.common.base.Function<Properties,com.google.common.base.Optional<Database>>
protected com.google.common.base.Optional<Database> getDatabase(String groupId, Properties config)
protected Database getOleDatabase(Properties config)
public org.kuali.common.util.project.model.Project getProject()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.