@Component public class ProjectConverter extends Object implements Function<ProjectBean,ServiceOutcome<Project>>
Constructor and Description |
---|
ProjectConverter(ProjectManager projectManager) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<Project>> |
all(Collection<ProjectBean> beans) |
ServiceOutcome<Project> |
apply(ProjectBean input)
Resolves an output
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, compose, identity
public ProjectConverter(ProjectManager projectManager)
public ServiceOutcome<List<Project>> all(@Nonnull Collection<ProjectBean> beans)
public ServiceOutcome<Project> apply(@Nonnull ProjectBean input)
Function
apply
in interface java.util.function.Function<ProjectBean,ServiceOutcome<Project>>
input
- an object of type D.Copyright © 2002-2021 Atlassian. All Rights Reserved.