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
ProjectRoleActorParser
ExternalProjectRoleActor
.parse
in interface ProjectRoleActorParser
attributes
- 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)
ProjectRoleActorParser
getEntityRepresentation
in interface ProjectRoleActorParser
projectRoleActor
- contains the populated fields that will end up in the EntityRepresentations map.Copyright © 2002-2016 Atlassian. All Rights Reserved.