public class Installer extends java.lang.Object implements InstallerInterface
Constructor and Description |
---|
Installer(Paths paths) |
Installer(Paths paths,
boolean force) |
Installer(Paths paths,
java.util.Map<java.lang.String,java.lang.String> properties,
boolean force) |
Modifier and Type | Method and Description |
---|---|
void |
addTomEEAdminConfInTomcatUsers() |
void |
addTomEEAdminConfInTomcatUsers(boolean securityActivated) |
static java.util.function.Function<java.lang.String,java.lang.String> |
changeVersion(java.lang.String from,
java.lang.String to) |
Alerts |
getAlerts() |
PathsInterface |
getPaths() |
Status |
getStatus() |
void |
installAll() |
void |
installConfigFiles(boolean builtIn)
Installs conf/tomee.xml and conf/logging.properties files.
|
void |
installFull() |
void |
installJavaagent() |
void |
installListener() |
void |
installListener(java.lang.String listener) |
static boolean |
isAgentInstalled() |
static boolean |
isListenerInstalled() |
static java.util.function.Function<java.lang.String,java.lang.String> |
removeDatestamp(java.lang.String version) |
static java.lang.String |
removeDatestamp(java.lang.String version,
java.lang.String jarName)
Maven will occasionally give a datestamped version of a snapshot.
|
void |
reset() |
public Installer(Paths paths)
public Installer(Paths paths, boolean force)
public Installer(Paths paths, java.util.Map<java.lang.String,java.lang.String> properties, boolean force)
public static boolean isListenerInstalled()
public static boolean isAgentInstalled()
public PathsInterface getPaths()
getPaths
in interface InstallerInterface
public Alerts getAlerts()
getAlerts
in interface InstallerInterface
public void reset()
reset
in interface InstallerInterface
public Status getStatus()
getStatus
in interface InstallerInterface
public void installAll()
installAll
in interface InstallerInterface
public void addTomEEAdminConfInTomcatUsers()
public void addTomEEAdminConfInTomcatUsers(boolean securityActivated)
public void installFull()
public static java.util.function.Function<java.lang.String,java.lang.String> removeDatestamp(java.lang.String version)
public static java.util.function.Function<java.lang.String,java.lang.String> changeVersion(java.lang.String from, java.lang.String to)
public static java.lang.String removeDatestamp(java.lang.String version, java.lang.String jarName)
public void installListener()
public void installListener(java.lang.String listener)
public void installJavaagent()
public void installConfigFiles(boolean builtIn)
builtIn
-