@PublicApi public interface DecoratedTaskDefinition<T extends TaskContainer> extends TaskDefinition
TaskType
DISABLED, ENABLED
Modifier and Type | Method and Description |
---|---|
com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject()
Retrieve a JSON representation of this task definition.
|
String |
getName()
Retrieve the name of this task.
|
T |
getTaskContainer()
Retrieve the entity for which this task belongs.
|
boolean |
isValid()
Validate this Task Definition by checking whether it is linked to a taskModuleDescriptor.
|
getConditions, getConfiguration, getEntityType, getRootDirectorySelector, setConditions, setConfiguration, setEnabled, setFinalising, setRootDirectorySelector, setUserDescription
getId, getPluginKey, getUserDescription, isEnabled, isFinalising
setOid
getOid
boolean isValid()
@NotNull String getName()
@NotNull T getTaskContainer()
@NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
com.opensymphony.webwork.dispatcher.json.JSONException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.