public class DecoratedTaskDefinitionImpl<T extends TaskContainer> extends TaskDefinitionImpl implements DecoratedTaskDefinition<T>
DISABLED, ENABLED| Constructor and Description |
|---|
DecoratedTaskDefinitionImpl(@NotNull TaskDefinition taskDefinition,
@Nullable TaskModuleDescriptor taskModuleDescriptor,
T taskContainer) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject()
Retrieve a JSON representation of this task definition.
|
@NotNull 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.
|
compareTo, equals, getConditions, getConfiguration, getId, getOid, getPluginKey, getRootDirectorySelector, getUserDescription, hashCode, isEnabled, isFinalising, setConditions, setConfiguration, setEnabled, setFinalising, setOid, setRootDirectorySelector, setUserDescription, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetConditions, getConfiguration, getEntityType, getRootDirectorySelector, setConditions, setConfiguration, setEnabled, setFinalising, setRootDirectorySelector, setUserDescriptiongetId, getPluginKey, getUserDescription, isEnabled, isFinalisingsetOidgetOidpublic DecoratedTaskDefinitionImpl(@NotNull
@NotNull TaskDefinition taskDefinition,
@Nullable
@Nullable TaskModuleDescriptor taskModuleDescriptor,
@NotNull
T taskContainer)
public boolean isValid()
DecoratedTaskDefinitionisValid in interface DecoratedTaskDefinition<T extends TaskContainer>@NotNull public @NotNull String getName()
DecoratedTaskDefinitiongetName in interface DecoratedTaskDefinition<T extends TaskContainer>@NotNull public T getTaskContainer()
DecoratedTaskDefinitiongetTaskContainer in interface DecoratedTaskDefinition<T extends TaskContainer>@NotNull
public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
DecoratedTaskDefinitiongetJsonObject in interface DecoratedTaskDefinition<T extends TaskContainer>com.opensymphony.webwork.dispatcher.json.JSONExceptionCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.