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 OutcomeHelper
public <T> ServiceOutcome<T> errorOutcome(String messageKey, Object... params)
errorOutcome
in interface OutcomeHelper
public <T> ServiceOutcome<T> errorOutcome(ServiceOutcome<?> serviceOutcome)
errorOutcome
in interface OutcomeHelper
public <T> ServiceOutcome<T> okOutcome(T object)
okOutcome
in interface OutcomeHelper
Copyright © 2002-2017 Atlassian. All Rights Reserved.