public abstract class ConfigPropertySetEntry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigPropertySetEntry.Type |
Constructor and Description |
---|
ConfigPropertySetEntry(String propertyName,
ConfigPropertySetEntry.Type propertyType) |
Modifier and Type | Method and Description |
---|---|
abstract Boolean |
asBoolean() |
abstract Integer |
asInteger() |
abstract Long |
asLong() |
abstract Object |
asObject() |
abstract String |
asString() |
static ConfigPropertySetEntry |
createBooleanEntry(String name,
Boolean b) |
static ConfigPropertySetEntry |
createIntegerEntry(String name,
Integer value) |
static ConfigPropertySetEntry |
createLongEntry(String name,
Long value) |
static ConfigPropertySetEntry |
createStringEntry(String name,
String value) |
static ConfigPropertySetEntry |
createTextEntry(String name,
String value) |
boolean |
equals(Object o) |
String |
getPropertyName() |
ConfigPropertySetEntry.Type |
getPropertyType() |
int |
hashCode() |
String |
toString() |
public ConfigPropertySetEntry(String propertyName, ConfigPropertySetEntry.Type propertyType)
public String getPropertyName()
public ConfigPropertySetEntry.Type getPropertyType()
public abstract String asString()
public abstract Long asLong()
public abstract Boolean asBoolean()
public abstract Integer asInteger()
public abstract Object asObject()
public static ConfigPropertySetEntry createStringEntry(String name, String value)
public static ConfigPropertySetEntry createTextEntry(String name, String value)
public static ConfigPropertySetEntry createIntegerEntry(String name, Integer value)
public static ConfigPropertySetEntry createLongEntry(String name, Long value)
public static ConfigPropertySetEntry createBooleanEntry(String name, Boolean b)
Copyright © 2002-2024 Atlassian. All Rights Reserved.