public class OutcomeHelperImpl extends Object implements OutcomeHelper
| Constructor and Description |
|---|
OutcomeHelperImpl(I18nHelper i18nHelper) |
| 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) |
public OutcomeHelperImpl(I18nHelper i18nHelper)
public <T> ServiceOutcome<T> errorOutcome(ErrorCollection errorCollection)
errorOutcome in interface OutcomeHelperpublic <T> ServiceOutcome<T> errorOutcome(String messageKey, Object... params)
errorOutcome in interface OutcomeHelperpublic <T> ServiceOutcome<T> errorOutcome(ServiceOutcome<?> serviceOutcome)
errorOutcome in interface OutcomeHelperpublic <T> ServiceOutcome<T> okOutcome(T object)
okOutcome in interface OutcomeHelperCopyright © 2002-2021 Atlassian. All Rights Reserved.