public interface Task extends Resource
Resource.CopyFlag
Modifier and Type | Field and Description |
---|---|
static PropertyNameList.PropertyName<ResourceList<Activity>> |
ACTIVITY_LIST
The activities that are performing this task.
|
ALL_CUSTOM_PROPERTIES, COMMENT, CONTENT_CHARACTER_SET, CONTENT_IDENTIFIER, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CREATION_DATE, CREATOR_DISPLAY_NAME, DISPLAY_NAME, IS_EXECUTABLE, LAST_MODIFIED, PARENT_LIST, PATHNAME_LOCATION, PROVIDER_LIST, RESOURCE_IDENTIFIER, WORKSPACE_FOLDER_LIST
Modifier and Type | Method and Description |
---|---|
Task |
doCreateGeneratedResource(Feedback feedback)
Create a new persistent task, where the provider can allocate the location for the
new task.
|
ResourceList<Activity> |
getActivityList()
Get the
ACTIVITY_LIST property. |
doCopy, doFind, doFindAll, doGetPropertyNameList, doGetPropertyNameList, doReadContent, doReadProperties, doUnbindAll, doWriteContent, doWriteProperties, forgetProperty, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreatorDisplayName, getDisplayName, getIsExecutable, getLastModified, getParentList, getPathnameLocation, getProperty, getProviderList, getResourceIdentifier, getWorkspaceFolderList, initProperty, location, lookupProperty, modifyLocation, propertyNameList, provider, removeProperty, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setIsExecutable, setProperty, setProperty, updatedPropertyNameList
static final PropertyNameList.PropertyName<ResourceList<Activity>> ACTIVITY_LIST
Activity.TASK_LIST
property.Task doCreateGeneratedResource(Feedback feedback) throws WvcmException
Postconditions:
feedback
- Specifies optional feedback to the caller.WvcmException
- ReasonCode:
WvcmException.ReasonCode.CANNOT_CREATE_AT_THIS_LOCATION
:
If the location of this Task does not identify a repository that supports
the creation of tasks, the request MUST fail.ResourceList<Activity> getActivityList() throws WvcmException
ACTIVITY_LIST
property.ACTIVITY_LIST
property.WvcmException
- if this Task was not created with
ACTIVITY_LIST
as a wanted property.Copyright © IBM 2017. All rights reserved.