public class ProjectConverterImpl extends Object implements ProjectConverter
| Constructor and Description |
|---|
ProjectConverterImpl(ProjectManager projectManager) |
| Modifier and Type | Method and Description |
|---|---|
Project |
getProject(Long projectId)
Get the Project for the given ID.
|
Project |
getProject(String stringValue)
Get the Project that this String value represents.
|
Project |
getProjectObject(Long projectId)
Get the Project for the given ID.
|
Project |
getProjectObject(String stringValue)
Get the Project that this String value represents.
|
String |
getString(Project project)
Get the String value that represents the given Project.
|
public ProjectConverterImpl(ProjectManager projectManager)
public String getString(Project project)
ProjectConvertergetString in interface ProjectConverterproject - Project to convertpublic Project getProjectObject(String stringValue) throws FieldValidationException
ProjectConverterSame as getProject() and exists for legacy reasons.
getProjectObject in interface ProjectConverterstringValue - the String representation.FieldValidationException - if we are unable to convert the String representation.public Project getProjectObject(Long projectId) throws FieldValidationException
ProjectConverterSame as getProject() and exists for legacy reasons.
getProjectObject in interface ProjectConverterprojectId - the Project ID.FieldValidationException - if the Project ID is invalid.public Project getProject(String stringValue) throws FieldValidationException
ProjectConvertergetProject in interface ProjectConverterstringValue - the String representation.FieldValidationException - if we are unable to convert the String representation.public Project getProject(Long projectId) throws FieldValidationException
ProjectConvertergetProject in interface ProjectConverterprojectId - the Project ID.FieldValidationException - if the Project ID is invalid.Copyright © 2002-2024 Atlassian. All Rights Reserved.