Package org.nuxeo.connect.update.xml
Class TaskDefinitionImpl
java.lang.Object
org.nuxeo.connect.update.xml.TaskDefinitionImpl
- All Implemented Interfaces:
org.nuxeo.connect.update.model.TaskDefinition
public class TaskDefinitionImpl
extends Object
implements org.nuxeo.connect.update.model.TaskDefinition
Describe an install / uninstall task
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTaskDefinitionImpl
(boolean restart) TaskDefinitionImpl
(String type, boolean restart) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
void
setRequireRestart
(boolean isRestartRequired) void
toString()
-
Field Details
-
type
A class implementingTask
-
restart
protected boolean restartWhether the platform must be restarted after executing the task.
-
-
Constructor Details
-
TaskDefinitionImpl
public TaskDefinitionImpl() -
TaskDefinitionImpl
public TaskDefinitionImpl(boolean restart) -
TaskDefinitionImpl
-
-
Method Details
-
setRequireRestart
public void setRequireRestart(boolean isRestartRequired) - Specified by:
setRequireRestart
in interfaceorg.nuxeo.connect.update.model.TaskDefinition
-
getRequireRestart
public boolean getRequireRestart()- Specified by:
getRequireRestart
in interfaceorg.nuxeo.connect.update.model.TaskDefinition
-
setType
- Specified by:
setType
in interfaceorg.nuxeo.connect.update.model.TaskDefinition
-
getType
- Specified by:
getType
in interfaceorg.nuxeo.connect.update.model.TaskDefinition
-
toString
-