Class DeployableConfiguration.Builder
java.lang.Object
io.github.rajendarreddyj.tomcat.config.DeployableConfiguration.Builder
- Enclosing class:
DeployableConfiguration
Builder for DeployableConfiguration.
-
Method Summary
Modifier and TypeMethodDescriptionautopublishEnabled(boolean autopublishEnabled) Sets whether auto-publish is enabled.autopublishInactivityLimit(int autopublishInactivityLimit) Sets the auto-publish inactivity limit.build()Builds the DeployableConfiguration.contextPath(String contextPath) Sets the context path.Sets the deployment directory.deploymentOutputName(String deploymentOutputName) Sets the deployment output name.moduleName(String moduleName) Sets the module name.sourcePath(Path sourcePath) Sets the source path.
-
Method Details
-
moduleName
Sets the module name.- Parameters:
moduleName- the module name- Returns:
- this builder
-
sourcePath
Sets the source path.- Parameters:
sourcePath- the source path- Returns:
- this builder
-
contextPath
Sets the context path.- Parameters:
contextPath- the context path- Returns:
- this builder
-
deployDir
Sets the deployment directory.- Parameters:
deployDir- the deployment directory- Returns:
- this builder
-
autopublishEnabled
Sets whether auto-publish is enabled.- Parameters:
autopublishEnabled- true to enable auto-publish- Returns:
- this builder
-
autopublishInactivityLimit
Sets the auto-publish inactivity limit.- Parameters:
autopublishInactivityLimit- the limit in seconds- Returns:
- this builder
-
deploymentOutputName
Sets the deployment output name.- Parameters:
deploymentOutputName- the output name- Returns:
- this builder
-
build
Builds the DeployableConfiguration.- Returns:
- the DeployableConfiguration instance
-