RSAddonConfig Class
Item Index
Methods
_readYcbDimensions
()
Array
private
Read the application's dimensions.json file for YCB processing. If not available, fall back to the framework's default dimensions.json.
Returns:
findResourceVersionByConvention
-
source -
mojitType
Using AOP, this is called after the ResourceStore's version.
Parameters:
-
sourceObjectmetadata about where the resource is located
-
mojitTypeStringname of mojit to which the resource likely belongs
Returns:
getDimensions
()
Object
Returns the YCB dimensions for the application.
Returns:
initializer
-
config
This methods is part of Y.Plugin.Base. See documentation for that for details.
Parameters:
-
configObjectConfiguration object as per Y.Plugin.Base
Returns:
parseResourceVersion
-
source -
type -
subtype -
mojitType
Using AOP, this is called before the ResourceStore's version.
Parameters:
-
sourceObjectmetadata about where the resource is located
-
typeStringtype of the resource
-
subtypeStringsubtype of the resource
-
mojitTypeStringname of mojit to which the resource likely belongs
Returns:
readConfigJSON
-
fullPath
Reads and parses a JSON file.
Parameters:
-
fullPathStringpath to JSON file
Returns:
readConfigYCB
-
ctx -
fullPath
Reads a configuration file that is in YCB format.
Parameters:
-
ctxObjectruntime context
-
fullPathStringpath to the YCB file
