public abstract class AbstractConfiguration extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConfiguration()
Initialize configuration with default values.
|
protected |
AbstractConfiguration(AbstractConfigurationBuilder<?,?> builder)
Deprecated.
|
protected |
AbstractConfiguration(String classpath,
String path,
String webapp,
int port,
Map<String,String> envProperties,
List<Hook> hooks,
ClassLoader parentClassLoader,
String overrideDescriptor)
Initialize configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object o)
Ensure that an object can be equal to the current instance.
|
boolean |
equals(Object o) |
String |
getClasspath()
Get
classpath. |
Map<String,String> |
getEnvProperties()
Get
envProperties as a non-modifiable map. |
List<Hook> |
getHooks()
Get
hooks as a non-modifiable list. |
String |
getOverrideDescriptor()
Get
overrideDescriptor. |
ClassLoader |
getParentClassLoader()
Get
parentClassLoader, as a non-modifiable collection. |
ClassLoader |
getParentClasspath()
Deprecated.
Use
getParentClassLoader() instead. |
String |
getPath()
Get
path. |
int |
getPort()
Get
port. |
String |
getWebapp()
Get
webapp. |
int |
hashCode() |
String |
toString() |
@Deprecated protected AbstractConfiguration(AbstractConfigurationBuilder<?,?> builder)
AbstractConfiguration(String, String, String, int, Map, List, ClassLoader, String) instead.builder - Configuration builder.protected AbstractConfiguration()
protected AbstractConfiguration(String classpath, String path, String webapp, int port, Map<String,String> envProperties, List<Hook> hooks, ClassLoader parentClassLoader, String overrideDescriptor)
classpath - New classpath value.path - New path value.webapp - New webapp value.port - New port value.envProperties - New envProperties value.hooks - New hooks value.parentClassLoader - New parentClassLoader value.overrideDescriptor - New overrideDescriptor value.@Deprecated public ClassLoader getParentClasspath()
getParentClassLoader() instead.parentClassLoader, as a non-modifiable collection.parentClassLoaderpublic ClassLoader getParentClassLoader()
parentClassLoader, as a non-modifiable collection.parentClassLoaderpublic String getOverrideDescriptor()
overrideDescriptor.overrideDescriptorpublic Map<String,String> getEnvProperties()
envProperties as a non-modifiable map.envPropertiesprotected boolean canEqual(Object o)
o - The tested object.true if o can be equal to this, false otherwise.Copyright © 2018. All rights reserved.