public class DecoratedTaskDefinitionImpl<T extends TaskContainer> extends TaskDefinitionImpl implements DecoratedTaskDefinition<T>
DISABLED, ENABLED| Constructor and Description |
|---|
DecoratedTaskDefinitionImpl(TaskDefinition taskDefinition,
TaskModuleDescriptor taskModuleDescriptor,
T taskContainer) |
| 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.
|
compareTo, equals, getConfiguration, getId, getOid, getPluginKey, getRootDirectorySelector, getUserDescription, hashCode, isEnabled, isFinalising, setConfiguration, setEnabled, setFinalising, setOid, setRootDirectorySelector, setUserDescription, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetConfiguration, getEntityType, getRootDirectorySelector, setConfiguration, setEnabled, setFinalising, setRootDirectorySelector, setUserDescriptiongetId, getPluginKey, getUserDescription, isEnabled, isFinalisingsetOidgetOidpublic DecoratedTaskDefinitionImpl(@NotNull
TaskDefinition taskDefinition,
@Nullable
TaskModuleDescriptor taskModuleDescriptor,
@NotNull
T taskContainer)
public boolean isValid()
DecoratedTaskDefinitionisValid in interface DecoratedTaskDefinition<T extends TaskContainer>public String getName()
DecoratedTaskDefinitiongetName in interface DecoratedTaskDefinition<T extends TaskContainer>@NotNull public T getTaskContainer()
DecoratedTaskDefinitiongetTaskContainer in interface DecoratedTaskDefinition<T extends TaskContainer>@NotNull
public 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.