@PublicApi public interface DecoratedTaskDefinition<T extends TaskContainer> extends TaskDefinition
TaskTypeDISABLED, 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, setUserDescriptiongetId, getPluginKey, getUserDescription, isEnabled, isFinalisingsetOidgetOidboolean 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.JSONExceptionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.