javax.wvcm
Interface Task
- All Superinterfaces:
- Resource
- All Known Subinterfaces:
- CcTask
public interface Task
- extends Resource
A proxy for a task resource.
A task resource provides the motivation for the logical change performed by an activity.
A variety of terms are used in various systems for a task, including change request,
modification request, change order, and workitem.
- Since:
- 1.0
Fields inherited from interface javax.wvcm.Resource |
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 |
Methods inherited from interface javax.wvcm.Resource |
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 |
ACTIVITY_LIST
static final PropertyNameList.PropertyName<ResourceList<Activity>> ACTIVITY_LIST
- The activities that are performing this task.
This is the inverse of the
Activity.TASK_LIST
property.
doCreateGeneratedResource
Task doCreateGeneratedResource(Feedback feedback)
throws WvcmException
- Create a new persistent task, where the provider can allocate the location for the
new task.
The provider should use the client-specified location if it is valid,
but can select a different location if the location is not valid
or already identifies a task.
Postconditions:
- (initialize-resource): A new task resource exists at the location of this Resource.
- Parameters:
feedback
- Specifies optional feedback to the caller.
- Returns:
- A proxy for this new resource, whose properties are specified by feedback.
- Throws:
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.
getActivityList
ResourceList<Activity> getActivityList()
throws WvcmException
- Get the
ACTIVITY_LIST
property.
- Returns:
- the
ACTIVITY_LIST
property.
- Throws:
WvcmException
- if this Task was not created with
ACTIVITY_LIST
as a wanted property.
Copyright © IBM 2017. All rights reserved.