public final class AssetToComponentMapping extends Object
| Constructor and Description |
|---|
AssetToComponentMapping(Resource resource,
List<ComponentDropTarget> componentDropTargets) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssetGroup()
Asset group to which belongs the drop target
|
Collection<ComponentDropTarget> |
getComponentDropTargets()
List of all the
ComponentDropTargets |
String |
getLabel()
Human readable label of the mapping
|
String[] |
getMimeTypes()
List of all the defined mime types for the current mapping
|
String |
getName()
Name of the mapping correspond to the name of the node of type
cq:DropTargetConfig |
String |
getRelativePath()
Relative path of the mapping
|
String |
getResourceType()
Resource type referenced by the mapping
|
ComponentDropTarget |
getSelectedComponentDropTarget()
Selected
ComponentDropTarget |
DropTarget |
getSelectedDropTarget()
Selected
DropTarget |
public AssetToComponentMapping(Resource resource, List<ComponentDropTarget> componentDropTargets)
public String getName()
cq:DropTargetConfigpublic String getLabel()
public String getRelativePath()
public String getResourceType()
public String getAssetGroup()
public Collection<ComponentDropTarget> getComponentDropTargets()
ComponentDropTargetspublic DropTarget getSelectedDropTarget()
DropTargetpublic ComponentDropTarget getSelectedComponentDropTarget()
ComponentDropTargetpublic String[] getMimeTypes()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"