Package org.eclipse.jetty.ee10.webapp
Class AbstractConfiguration.Builder
java.lang.Object
org.eclipse.jetty.ee10.webapp.AbstractConfiguration.Builder
- Enclosing class:
- AbstractConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddDependencies
(Class<? extends Configuration>... classes) Add configuration classes that come before this configurationaddDependencies
(String... classes) Add configuration classes that come before this configurationaddDependents
(Class<?>... classes) Add configuration classes that come after this configurationaddDependents
(String... classes) Add configuration classes that come after this configurationenabledByDefault
(boolean enabledByDefault) Expose classes to the web application by adding them as exclusions to theAbstractConfiguration.getHiddenClasses()
Hide classes from the web application by adding them to theAbstractConfiguration.getHiddenClasses()
Protect classes from modification by the web application by adding them to theAbstractConfiguration.getProtectedClasses()
protectAndExpose
(String... classes) Protect classes from modification by the web application by adding them to theAbstractConfiguration.getProtectedClasses()
and expose them to the web application by adding them as exclusions to theAbstractConfiguration.getHiddenClasses()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabledByDefault
-
addDependencies
Add configuration classes that come before this configuration- Parameters:
classes
- Classname or package name
-
addDependencies
@SafeVarargs public final AbstractConfiguration.Builder addDependencies(Class<? extends Configuration>... classes) Add configuration classes that come before this configuration- Parameters:
classes
- Classes
-
addDependents
Add configuration classes that come after this configuration- Parameters:
classes
- Classname or package name
-
addDependents
Add configuration classes that come after this configuration- Parameters:
classes
- Class
-
protect
Protect classes from modification by the web application by adding them to theAbstractConfiguration.getProtectedClasses()
- Parameters:
classes
- classname or package pattern
-
hide
Hide classes from the web application by adding them to theAbstractConfiguration.getHiddenClasses()
- Parameters:
classes
- classname or package pattern
-
expose
Expose classes to the web application by adding them as exclusions to theAbstractConfiguration.getHiddenClasses()
- Parameters:
classes
- classname or package pattern
-
protectAndExpose
Protect classes from modification by the web application by adding them to theAbstractConfiguration.getProtectedClasses()
and expose them to the web application by adding them as exclusions to theAbstractConfiguration.getHiddenClasses()
- Parameters:
classes
- classname or package pattern
-