@Beta public class ApplicationBuilder extends Object
Modifier and Type | Field and Description |
---|---|
private Path |
applicationDir |
private Networking |
networking |
Constructor and Description |
---|
ApplicationBuilder() |
Modifier and Type | Method and Description |
---|---|
Application |
build() |
private void |
createFile(Path path,
String content) |
ApplicationBuilder |
documentType(String name,
String searchDefinition) |
private void |
ensureNotAlreadyBuild() |
(package private) Path |
getPath() |
private Path |
nestedResource(com.yahoo.path.Path nestedPath,
String name,
String fileType) |
ApplicationBuilder |
networking(Networking networking)
Disabled per default
|
ApplicationBuilder |
queryProfile(String name,
String queryProfile) |
ApplicationBuilder |
queryProfileType(String name,
String queryProfileType) |
ApplicationBuilder |
rankExpression(String name,
String rankExpressionContent) |
ApplicationBuilder |
servicesXml(String servicesXml) |
private Path applicationDir
private Networking networking
public ApplicationBuilder() throws IOException
IOException
public ApplicationBuilder servicesXml(String servicesXml) throws IOException
IOException
public ApplicationBuilder documentType(String name, String searchDefinition) throws IOException
IOException
public ApplicationBuilder rankExpression(String name, String rankExpressionContent) throws IOException
IOException
public ApplicationBuilder queryProfile(String name, String queryProfile) throws IOException
IOException
public ApplicationBuilder queryProfileType(String name, String queryProfileType) throws IOException
IOException
public ApplicationBuilder networking(Networking networking)
public Application build()
private Path nestedResource(com.yahoo.path.Path nestedPath, String name, String fileType)
private void ensureNotAlreadyBuild()
private void createFile(Path path, String content) throws IOException
IOException
Path getPath()
Copyright © 2018. All rights reserved.