public class ProjectParserImpl extends OSPropertyParser implements ProjectParser
OSPROPERTY_ENTRY, OSPROPERTY_NUMBER, OSPROPERTY_STRING
PROJECT_ENTITY_NAME
Constructor and Description |
---|
ProjectParserImpl() |
Modifier and Type | Method and Description |
---|---|
void |
parseOther(String elementName,
Map attributes)
This method parses the Project "Email Sender" properties out of OSProperty.
|
ExternalProject |
parseProject(Map attributes)
Transforms a set of attributes into an
ExternalProject . |
getEntityName, getID, getPropertyKey, getValue, isOSPropertyEntry, isOSPropertyString, parseNumberAsBoolean
public ExternalProject parseProject(Map attributes) throws ParseException
ProjectParser
ExternalProject
.parseProject
in interface ProjectParser
attributes
- is a map of key value pairs that represent the attributes of an ExternalProject. The following
attributes are required, otherwise a ParseException will be thrown:ExternalProject
the attributes contain id and key, never null.ParseException
- If the attributes are invalid.public void parseOther(String elementName, Map attributes)
ProjectParser
parseOther
in interface ProjectParser
elementName
- Element Name for this element.attributes
- Map of key-value pairs for this element.Copyright © 2002-2017 Atlassian. All Rights Reserved.