public class TaskDefinitionImpl extends Object implements org.nuxeo.connect.update.model.TaskDefinition
Modifier and Type | Field and Description |
---|---|
protected boolean |
restart
Whether the platform must be restarted after executing the task.
|
protected String |
type
A class implementing
Task |
Constructor and Description |
---|
TaskDefinitionImpl() |
TaskDefinitionImpl(boolean restart) |
TaskDefinitionImpl(String type,
boolean restart) |
Modifier and Type | Method and Description |
---|---|
boolean |
getRequireRestart() |
String |
getType() |
void |
setRequireRestart(boolean isRestartRequired) |
void |
setType(String type) |
String |
toString() |
protected boolean restart
public TaskDefinitionImpl()
public TaskDefinitionImpl(boolean restart)
public TaskDefinitionImpl(String type, boolean restart)
public void setRequireRestart(boolean isRestartRequired)
setRequireRestart
in interface org.nuxeo.connect.update.model.TaskDefinition
public boolean getRequireRestart()
getRequireRestart
in interface org.nuxeo.connect.update.model.TaskDefinition
public void setType(String type)
setType
in interface org.nuxeo.connect.update.model.TaskDefinition
public String getType()
getType
in interface org.nuxeo.connect.update.model.TaskDefinition
Copyright © 2018 Nuxeo. All rights reserved.