public class PropertyResourceDescriptor extends Object
Constructor and Description |
---|
PropertyResourceDescriptor(String pluginIdentifier,
String fallbackAbsolutePath,
boolean fallbackHasMinimized)
Create a new property resource descriptor
|
PropertyResourceDescriptor(String pluginIdentifier,
String fallbackAbsolutePath,
boolean fallbackHasMinimized,
CachedFileDescriptor cachedFile,
boolean propertyValue)
Create a new property resource descriptor
|
Modifier and Type | Method and Description |
---|---|
CachedFileDescriptor |
getCachedFile()
The cached property resource.
|
String |
getFallbackAbsolutePath() |
String |
getPluginIdentifier() |
boolean |
hasFallback() |
boolean |
hasPropertyValue() |
boolean |
isFallbackHasMinimized() |
public PropertyResourceDescriptor(String pluginIdentifier, String fallbackAbsolutePath, boolean fallbackHasMinimized)
pluginIdentifier
- identifier of the pluginfallbackAbsolutePath
- absolute path to the fallback resource that is part of the plugin. Msut be null if
there is no fallback.fallbackHasMinimized
- whether a minimized version of the fallback existspublic PropertyResourceDescriptor(String pluginIdentifier, String fallbackAbsolutePath, boolean fallbackHasMinimized, CachedFileDescriptor cachedFile, boolean propertyValue)
pluginIdentifier
- identifier of the pluginfallbackAbsolutePath
- absolute path to the fallback resource that is part of the plugin. Msut be null if
there is no fallback.fallbackHasMinimized
- whether a minimized version of the fallback existscachedFile
- the cached file. Should only be set for the current property resource. Can be null
if the property has no value and no fallbackpropertyValue
- whether the application property is setpublic CachedFileDescriptor getCachedFile()
public String getFallbackAbsolutePath()
public String getPluginIdentifier()
public boolean hasFallback()
public boolean hasPropertyValue()
public boolean isFallbackHasMinimized()
Copyright © 2019 Communote team. All rights reserved.