public interface ProjectParser
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_ENTITY_NAME
Defines the element name that the parser will handle.
|
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 . |
static final String PROJECT_ENTITY_NAME
ExternalProject parseProject(Map attributes) throws ParseException
ExternalProject
.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.void parseOther(String elementName, Map attributes)
elementName
- Element Name for this element.attributes
- Map of key-value pairs for this element.Copyright © 2002-2022 Atlassian. All Rights Reserved.