public class HostConfig extends DeployConfig
Constructor and Description |
---|
HostConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addHostAlias(RawString rawName)
Adds a host alias.
|
protected void |
addHostAliasImpl(java.lang.String name) |
void |
addHostAliasRegexp(java.lang.String name)
Adds a host alias regexp.
|
java.util.ArrayList<java.lang.String> |
getHostAliases()
Returns the host aliases.
|
java.util.ArrayList<java.util.regex.Pattern> |
getHostAliasRegexps()
Returns the host aliases regexps.
|
java.lang.String |
getHostName()
Gets the host name.
|
java.util.regex.Pattern |
getRegexp()
Gets the regexp.
|
void |
init()
Initialize the config.
|
void |
setHostName(RawString name)
Sets the host name.
|
void |
setId(RawString id)
Sets the id.
|
void |
setId(java.lang.String cleanName)
Sets the id.
|
void |
setLazyInit(boolean lazyInit)
Sets the lazy-init property
|
void |
setRegexp(RawString regexp)
Sets the regexp.
|
void |
setRootDir(RawString rootDir)
Sets the root-dir (obsolete).
|
addBuilderProgram, addClassLoader, addPropertyProgram, calculateRootDirectory, calculateRootDirectory, getArchivePath, getBuilderProgram, getClassLoaderProgram, getExpandCleanupFileset, getId, getPrologue, getRedeployCheckInterval, getRedeployMode, getRootDirectory, getStartupMode, getStartupPriority, isSkipDefaultConfig, setArchivePath, setExpandCleanupFileset, setRedeployCheckInterval, setRedeployMode, setRootDirectory, setSkipDefaultConfig, setStartupMode, setStartupPriority
public void setHostName(RawString name) throws ConfigException
ConfigException
public java.lang.String getHostName()
@Configurable public void setId(RawString id) throws ConfigException
ConfigException
public void setId(java.lang.String cleanName)
DeployConfig
setId
in class DeployConfig
public void addHostAlias(RawString rawName) throws ConfigException
ConfigException
protected void addHostAliasImpl(java.lang.String name)
public java.util.ArrayList<java.lang.String> getHostAliases()
public void addHostAliasRegexp(java.lang.String name)
public java.util.ArrayList<java.util.regex.Pattern> getHostAliasRegexps()
public void setRegexp(RawString regexp)
public java.util.regex.Pattern getRegexp()
public void setRootDir(RawString rootDir)
public void setLazyInit(boolean lazyInit) throws ConfigException
ConfigException
@PostConstruct public void init()