@Internal
public interface ProjectConverter
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.
|
String getString(Project project)
project
- Project to convertProject getProjectObject(String stringValue) throws FieldValidationException
Same as getProject() and exists for legacy reasons.
stringValue
- the String representation.FieldValidationException
- if we are unable to convert the String representation.Project getProjectObject(Long projectId) throws FieldValidationException
Same as getProject() and exists for legacy reasons.
projectId
- the Project ID.FieldValidationException
- if the Project ID is invalid.Project getProject(String stringValue) throws FieldValidationException
stringValue
- the String representation.FieldValidationException
- if we are unable to convert the String representation.Project getProject(Long projectId) throws FieldValidationException
projectId
- the Project ID.FieldValidationException
- if the Project ID is invalid.Copyright © 2002-2021 Atlassian. All Rights Reserved.