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
-
-
Constructor Summary
Constructors Constructor Description TaskDefinitionImpl()
TaskDefinitionImpl(boolean restart)
TaskDefinitionImpl(String type, boolean restart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getRequireRestart()
String
getType()
void
setRequireRestart(boolean isRestartRequired)
void
setType(String type)
String
toString()
-
-
-
Field Detail
-
type
protected String type
A class implementingTask
-
restart
protected boolean restart
Whether the platform must be restarted after executing the task.
-
-
Constructor Detail
-
TaskDefinitionImpl
public TaskDefinitionImpl()
-
TaskDefinitionImpl
public TaskDefinitionImpl(boolean restart)
-
TaskDefinitionImpl
public TaskDefinitionImpl(String type, boolean restart)
-
-
Method Detail
-
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
public void setType(String type)
- Specified by:
setType
in interfaceorg.nuxeo.connect.update.model.TaskDefinition
-
getType
public String getType()
- Specified by:
getType
in interfaceorg.nuxeo.connect.update.model.TaskDefinition
-
-