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, getConditions, getConfiguration, getId, getOid, getPluginKey, getRootDirectorySelector, getUserDescription, hashCode, isEnabled, isFinalising, setConditions, setConfiguration, setEnabled, setFinalising, setOid, setRootDirectorySelector, setUserDescription, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConditions, getConfiguration, getEntityType, getRootDirectorySelector, setConditions, setConfiguration, setEnabled, setFinalising, setRootDirectorySelector, setUserDescription
getId, getPluginKey, getUserDescription, isEnabled, isFinalising
setOid
getOid
public DecoratedTaskDefinitionImpl(@NotNull TaskDefinition taskDefinition, @Nullable TaskModuleDescriptor taskModuleDescriptor, @NotNull T taskContainer)
public boolean isValid()
DecoratedTaskDefinition
isValid
in interface DecoratedTaskDefinition<T extends TaskContainer>
@NotNull public String getName()
DecoratedTaskDefinition
getName
in interface DecoratedTaskDefinition<T extends TaskContainer>
@NotNull public T getTaskContainer()
DecoratedTaskDefinition
getTaskContainer
in interface DecoratedTaskDefinition<T extends TaskContainer>
@NotNull public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
DecoratedTaskDefinition
getJsonObject
in interface DecoratedTaskDefinition<T extends TaskContainer>
com.opensymphony.webwork.dispatcher.json.JSONException
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.