Interface TriageGovernanceContext
-
- All Superinterfaces:
GovernanceContext
- All Known Implementing Classes:
GovernanceActionContext
public interface TriageGovernanceContext extends GovernanceContext
TriageGovernanceContext provides access to details of the triage request and associated governance action plus with access to the metadata store. A triage governance action service typically assesses the request source elements and makes a choice to call an external triage service, create a to-do for a profile in the open metadata ecosystem, or directly completing the associated governance action with a decision for the completion status and guards that are used to determine the next step to proceed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringopenToDo(String toDoQualifiedName, String title, String instructions, int priority, Date dueDate, String assignTo)Create a To Do request for someone to work on.-
Methods inherited from interface org.odpi.openmetadata.frameworks.governanceaction.GovernanceContext
createIncidentReport, getActionTargetElements, getCompletionStatus, getOpenMetadataStore, getRequestParameters, getRequestSourceElements, getRequestType, recordCompletionStatus, recordCompletionStatus, recordCompletionStatus, updateActionTargetStatus
-
-
-
-
Method Detail
-
openToDo
String openToDo(String toDoQualifiedName, String title, String instructions, int priority, Date dueDate, String assignTo) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a To Do request for someone to work on.- Parameters:
toDoQualifiedName- unique name for the to do. (Could be the engine name and a guid?)title- short meaningful phrase for the person receiving the requestinstructions- further details on what to dopriority- priority value (based on organization's scale)dueDate- date/time this needs to be completedassignTo- qualified name of the PersonRole element for the recipient- Returns:
- unique identifier of new to do element
- Throws:
InvalidParameterException- either todoQualifiedName or assignedTo are null or not recognizedUserNotAuthorizedException- the governance action service is not authorized to create a to doPropertyServerException- there is a problem connecting to (or inside) the metadata store
-
-