com.atlassian.jira.functest.config.ps
Class ConfigPropertySetEntry
java.lang.Object
com.atlassian.jira.functest.config.ps.ConfigPropertySetEntry
public abstract class ConfigPropertySetEntry
- extends Object
Represents an entry in a property set. Instances should be created through the static factory methods.
- Since:
- v4.0
ConfigPropertySetEntry
public ConfigPropertySetEntry(String propertyName,
ConfigPropertySetEntry.Type propertyType)
getPropertyName
public String getPropertyName()
getPropertyType
public ConfigPropertySetEntry.Type getPropertyType()
asString
public abstract String asString()
asLong
public abstract Long asLong()
asBoolean
public abstract Boolean asBoolean()
asInteger
public abstract Integer asInteger()
asObject
public abstract Object asObject()
createStringEntry
public static ConfigPropertySetEntry createStringEntry(String name,
String value)
createTextEntry
public static ConfigPropertySetEntry createTextEntry(String name,
String value)
createIntegerEntry
public static ConfigPropertySetEntry createIntegerEntry(String name,
Integer value)
createLongEntry
public static ConfigPropertySetEntry createLongEntry(String name,
Long value)
createBooleanEntry
public static ConfigPropertySetEntry createBooleanEntry(String name,
Boolean b)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.