public abstract class OSPropertyParser extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OSPROPERTY_ENTRY |
static String |
OSPROPERTY_NUMBER |
static String |
OSPROPERTY_STRING |
Constructor and Description |
---|
OSPropertyParser() |
Modifier and Type | Method and Description |
---|---|
String |
getEntityName(Map attributes)
Returns the "entityName" property from a Map of attributes for an OSProperty entry in a JIRA import file.
|
String |
getID(Map attributes)
Returns the "id" property from a Map of attributes for an OSProperty entry in a JIRA import file.
|
String |
getPropertyKey(Map attributes)
Returns the "propertyKey" property from a Map of attributes for an OSProperty entry in a JIRA import file.
|
String |
getValue(Map attributes)
Returns the "value" property from a Map of attributes for an OSProperty entry in a JIRA import file.
|
boolean |
isOSPropertyEntry(String elementName)
Returns
true |
boolean |
isOSPropertyString(String elementName)
Returns
true |
boolean |
parseNumberAsBoolean(String numericValue) |
public static final String OSPROPERTY_STRING
public static final String OSPROPERTY_NUMBER
public static final String OSPROPERTY_ENTRY
public String getID(Map attributes)
attributes
- The Map of attributes for this entry.public String getEntityName(Map attributes)
attributes
- The Map of attributes for this entry.public String getPropertyKey(Map attributes)
attributes
- The Map of attributes for this entry.public String getValue(Map attributes)
attributes
- The Map of attributes for this entry.public boolean isOSPropertyEntry(String elementName)
true if the given element name is the "OSPropertyEntry" element.
elementName
- The name of the XML element.true if the given element name is the "OSPropertyEntry" element.
public boolean isOSPropertyString(String elementName)
true if the given element name is the "OSPropertyString" element.
elementName
- The name of the XML element.true if the given element name is the "OSPropertyString" element.
public boolean parseNumberAsBoolean(String numericValue)
Copyright © 2002-2021 Atlassian. All Rights Reserved.