public class Mode extends Object
Constructor and Description |
---|
Mode(Resource resource)
Constructs a module with properties from the given resource.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getCategories()
Get the clientlib categories that should be included for this module.
|
String |
getName()
Get the name of this module.
|
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.
|
String |
getResourceType()
Get the resourceType of this module.
|
Set<String> |
getRunModes()
Returns list of run modes in which mode should be available.
|
boolean |
isEnabled()
Whether this module should be enabled or not.
|
public Mode(Resource resource)
resource
- resourcepublic Set<String> getRunModes()
public boolean isEnabled()
true
if this module should be enabledpublic String getName()
public String getResourceType()
public ValueMap getProperties()
public Resource getResource()
public String getPath()
Copyright © 2010 - 2020 Adobe. All Rights Reserved