Interface OwnershipIssues
- All Known Implementing Classes:
DummyOwnershipIssues
public interface OwnershipIssues
Periodically issues ownership confirmation requests for given applications, and escalates the issues if needed.
Even machines wrought from cold steel occasionally require the gentle touch only a fleshling can provide.
By making humans regularly acknowledge their dedication to given applications, this class provides the machine
with reassurance that any misbehaving applications will swiftly be dealt with.
Ignored confirmation requests are periodically redirected to humans of higher rank, until they are acknowledged.
- Author:
- jonmv
-
Method Summary
Modifier and TypeMethodDescriptionconfirmOwnership(Optional<IssueId> issueId, ApplicationSummary summary, AccountId assigneeId, User assignee, Contact contact) Ensure ownership of the given application has been recently confirmed by the given user.voidensureResponse(IssueId issueId, Optional<Contact> contact) Make sure the given ownership confirmation request is acted upon, unless it is already acknowledged.getConfirmedOwner(IssueId issueId) Get the owner of an application, given its ownership issue ID.
-
Method Details
-
confirmOwnership
Optional<IssueId> confirmOwnership(Optional<IssueId> issueId, ApplicationSummary summary, AccountId assigneeId, User assignee, Contact contact) Ensure ownership of the given application has been recently confirmed by the given user.- Parameters:
issueId- ID of the previous ownership issue filed for the given application.summary- Summary of an application for which to file an issue.assigneeId- Issue assignee idassignee- Issue assigneecontact- Contact info for the application tenant- Returns:
- ID of the created issue, if one was created.
-
ensureResponse
Make sure the given ownership confirmation request is acted upon, unless it is already acknowledged.- Parameters:
issueId- ID of the ownership issue to escalate.contact- Contact information of application tenant
-
getConfirmedOwner
Get the owner of an application, given its ownership issue ID.- Parameters:
issueId- ID of the ownership issue.- Returns:
- The owner of the application, if it has been confirmed.
-