public class Mode
extends java.lang.Object
Constructor and Description |
---|
Mode(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 mode should be available.
|
boolean |
isEnabled()
Whether this module should be enabled or not.
|
public Mode(Resource resource)
resource
- resourcepublic java.util.Set<java.lang.String> getRunModes()
public boolean isEnabled()
true
if this module should be enabledpublic 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"