public class ProjectRoleActorParserImpl extends Object implements ProjectRoleActorParser
PROJECT_ROLE_ACTOR_ENTITY_NAME| Constructor and Description |
|---|
ProjectRoleActorParserImpl() |
| Modifier and Type | Method and Description |
|---|---|
EntityRepresentation |
getEntityRepresentation(ExternalProjectRoleActor projectRoleActor)
Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the
provided ProjectRoleActor.
|
ExternalProjectRoleActor |
parse(Map attributes)
Transforms a set of attributes into an
ExternalProjectRoleActor. |
public ExternalProjectRoleActor parse(Map attributes) throws ParseException
ProjectRoleActorParserExternalProjectRoleActor.parse in interface ProjectRoleActorParserattributes - is a map of key value pairs that represent the attributes of an ExternalProjectRoleActor. The following
attributes are required, otherwise a ParseException will be thrown:ExternalProjectRoleActor, never null.ParseException - If the attributes are invalid.public EntityRepresentation getEntityRepresentation(ExternalProjectRoleActor projectRoleActor)
ProjectRoleActorParsergetEntityRepresentation in interface ProjectRoleActorParserprojectRoleActor - contains the populated fields that will end up in the EntityRepresentations map.Copyright © 2002-2018 Atlassian. All Rights Reserved.