public class Module
extends java.lang.Object
Constructor and Description |
---|
Module(Resource resource)
Constructs a module with properties from the given resource.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getCategories()
Get the clientlib categories that should be included for this module.
|
java.lang.String |
getName()
Get the name of this module.
|
java.lang.String |
getPath()
Get the path where this module is defined.
|
ValueMap |
getProperties()
Get all properties of this module.
|
Resource |
getResource()
Get the resource which describes this module.
|
java.lang.String |
getResourceType()
Get the resourceType of this module.
|
java.util.Set<java.lang.String> |
getRunModes()
Returns list of run modes in which module should be available.
|
java.lang.String |
getTheme()
Get the theme this module uses.
|
boolean |
isEnabled()
Whether this module should be enabled or not.
|
public Module(Resource resource)
resource
- the resource used to construct a module frompublic java.util.Set<java.lang.String> getRunModes()
public boolean isEnabled()
true
if this module should be enabledpublic java.lang.String getTheme()
public java.lang.String getName()
public java.lang.String getResourceType()
public ValueMap getProperties()
public Resource getResource()
public java.lang.String getPath()
public java.util.List<java.lang.String> getCategories()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"