public class MockPropertiesAccessor extends Object implements PropertiesAccessor
Constructor and Description |
---|
MockPropertiesAccessor() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getBoolean(String key) |
Integer |
getInteger(String key) |
Long |
getLong(String key) |
Properties |
getProperties() |
String |
getProperty(String key) |
void |
refresh() |
void |
refresh(String key) |
void |
setProperties(Properties props) |
void |
setProperty(String key,
String value) |
void |
unsetProperty(String key) |
public String getProperty(@Nonnull String key)
getProperty
in interface PropertiesAccessor
public void setProperty(@Nonnull String key, @Nonnull String value)
setProperty
in interface PropertiesAccessor
public void unsetProperty(@Nonnull String key)
unsetProperty
in interface PropertiesAccessor
public Properties getProperties()
getProperties
in interface PropertiesAccessor
public void setProperties(@Nonnull Properties props)
setProperties
in interface PropertiesAccessor
public Boolean getBoolean(@Nonnull String key)
getBoolean
in interface PropertiesAccessor
public Integer getInteger(@Nonnull String key)
getInteger
in interface PropertiesAccessor
public Long getLong(@Nonnull String key)
getLong
in interface PropertiesAccessor
public void refresh()
refresh
in interface PropertiesAccessor
public void refresh(@Nonnull String key)
refresh
in interface PropertiesAccessor
Copyright © 2002-2015 Atlassian. All Rights Reserved.