public abstract class AbstractConfiguration extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConfiguration()
Initialize configuration with default values.
|
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. |
String |
getPath()
Get
path. |
int |
getPort()
Get
port. |
String |
getWebapp()
Get
webapp. |
int |
hashCode() |
String |
toString() |
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.public 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 © 2019. All rights reserved.