Class DummyOwnershipIssues
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.stubs.DummyOwnershipIssues
-
- All Implemented Interfaces:
OwnershipIssues
public class DummyOwnershipIssues extends Object implements OwnershipIssues
- Author:
- jonmv
-
-
Constructor Summary
Constructors Constructor Description DummyOwnershipIssues()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<IssueId>confirmOwnership(Optional<IssueId> issueId, ApplicationSummary summary, 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.Optional<User>getConfirmedOwner(IssueId issueId)Get the owner of an application, given its ownership issue ID.
-
-
-
Method Detail
-
confirmOwnership
public Optional<IssueId> confirmOwnership(Optional<IssueId> issueId, ApplicationSummary summary, User assignee, Contact contact)
Description copied from interface:OwnershipIssuesEnsure ownership of the given application has been recently confirmed by the given user.- Specified by:
confirmOwnershipin interfaceOwnershipIssues- Parameters:
issueId- ID of the previous ownership issue filed for the given application.summary- Summary of an application for which to file an issue.assignee- Issue assigneecontact- Contact info for the application tenant- Returns:
- ID of the created issue, if one was created.
-
ensureResponse
public void ensureResponse(IssueId issueId, Optional<Contact> contact)
Description copied from interface:OwnershipIssuesMake sure the given ownership confirmation request is acted upon, unless it is already acknowledged.- Specified by:
ensureResponsein interfaceOwnershipIssues- Parameters:
issueId- ID of the ownership issue to escalate.contact- Contact information of application tenant
-
getConfirmedOwner
public Optional<User> getConfirmedOwner(IssueId issueId)
Description copied from interface:OwnershipIssuesGet the owner of an application, given its ownership issue ID.- Specified by:
getConfirmedOwnerin interfaceOwnershipIssues- Parameters:
issueId- ID of the ownership issue.- Returns:
- The owner of the application, if it has been confirmed.
-
-