@Internal
public interface OutcomeHelper
Modifier and Type | Method and Description |
---|---|
<T> ServiceOutcome<T> |
errorOutcome(ErrorCollection errorCollection) |
<T> ServiceOutcome<T> |
errorOutcome(ServiceOutcome<?> serviceOutcome) |
<T> ServiceOutcome<T> |
errorOutcome(String messageKey,
Object... params) |
<T> ServiceOutcome<T> |
okOutcome(T object) |
<T> ServiceOutcome<T> errorOutcome(ErrorCollection errorCollection)
<T> ServiceOutcome<T> errorOutcome(String messageKey, Object... params)
<T> ServiceOutcome<T> errorOutcome(ServiceOutcome<?> serviceOutcome)
<T> ServiceOutcome<T> okOutcome(T object)
Copyright © 2002-2022 Atlassian. All Rights Reserved.