public interface ProjectRoleActorParser
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_ROLE_ACTOR_ENTITY_NAME
Defines the element name that the parser will handle.
|
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 . |
static final String PROJECT_ROLE_ACTOR_ENTITY_NAME
ExternalProjectRoleActor parse(Map attributes) throws ParseException
ExternalProjectRoleActor
.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.EntityRepresentation getEntityRepresentation(ExternalProjectRoleActor projectRoleActor)
projectRoleActor
- contains the populated fields that will end up in the EntityRepresentations map.Copyright © 2002-2018 Atlassian. All Rights Reserved.