public class MediaProviderConfigObject extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MediaProviderConfigObject.ConfigType |
Constructor and Description |
---|
MediaProviderConfigObject() |
Modifier and Type | Method and Description |
---|---|
void |
addPossibleValues(String possibleValue) |
String |
getDefaultValue() |
String |
getKey() |
String |
getKeyDescription()
short description for key, to display in GUI
if empty, we are returning the key (as before) |
ArrayList<String> |
getPossibleValues() |
MediaProviderConfigObject.ConfigType |
getType() |
String |
getValue()
gets the configured value, or the default one
|
Boolean |
getValueAsBool() |
String |
getValueAsString() |
Integer |
getValueIndex() |
boolean |
isEmpty() |
boolean |
isEncrypt() |
boolean |
isReturnListAsInt() |
boolean |
isVisible()
option can be "hidden" in GUI, but be still an option!
|
void |
setDefaultValue(String defaultValue) |
void |
setEncrypt(boolean encrypt) |
void |
setKey(String key) |
void |
setKeyDescription(String keyDescription)
short description for key, to display in GUI
|
void |
setPossibleValues(ArrayList<String> possibleValues) |
void |
setReturnListAsInt(boolean returnListAsInt) |
void |
setType(MediaProviderConfigObject.ConfigType type) |
void |
setValue(boolean value) |
void |
setValue(String value) |
void |
setVisible(boolean visible)
option can be "hidden" in GUI, but be still an option!
|
String |
toString() |
public String getKey()
public void setKey(String key)
public String getKeyDescription()
public void setKeyDescription(String keyDescription)
keyDescription
- public boolean isEmpty()
public String getValue()
public String getValueAsString()
public Boolean getValueAsBool()
public Integer getValueIndex()
public void setValue(String value)
public void setValue(boolean value)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public boolean isReturnListAsInt()
public void setReturnListAsInt(boolean returnListAsInt)
public void addPossibleValues(String possibleValue)
public MediaProviderConfigObject.ConfigType getType()
public void setType(MediaProviderConfigObject.ConfigType type)
public boolean isEncrypt()
public void setEncrypt(boolean encrypt)
public boolean isVisible()
public void setVisible(boolean visible)
visible
- Copyright © 2012–2019 tinyMediaManager. All rights reserved.