public class RegisterServletTask extends AbstractTask
ServletDefinition
DO_NOTHING
Constructor and Description |
---|
RegisterServletTask(ServletDefinition servletDefinition)
Deprecated.
since 5.5.3, use
RegisterServletTask(ServletDefinition, NodeNameHelper) instead. |
RegisterServletTask(ServletDefinition servletDefinition,
NodeNameHelper nodeNameHelper) |
Modifier and Type | Method and Description |
---|---|
void |
execute(InstallContext installContext)
A good-citizen task should execute itself responsibly: it should know
what to do in case of problems: for instance, fixable or irrelevant
issues should usually just be logged used the InstallContext methods,
when the user can fix them later on.
|
ServletDefinition |
getServletDefinition() |
getDescription, getName, toString
public RegisterServletTask(ServletDefinition servletDefinition, NodeNameHelper nodeNameHelper)
public RegisterServletTask(ServletDefinition servletDefinition)
RegisterServletTask(ServletDefinition, NodeNameHelper)
instead.public void execute(InstallContext installContext) throws TaskExecutionException
Task
TaskExecutionException
public ServletDefinition getServletDefinition()
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.