public class AbstractInstallResourceTask
extends info.magnolia.module.delta.AbstractTask
Modifier and Type | Field and Description |
---|---|
protected String |
extension |
protected String |
name |
protected javax.jcr.Node |
node |
protected boolean |
preserveResourceParameters |
protected boolean |
processed |
protected String |
resource |
protected String |
rights |
protected String |
source |
protected String |
template |
protected String |
version |
Constructor and Description |
---|
AbstractInstallResourceTask(String resource,
String template,
boolean processed,
String version,
String source,
String rights,
boolean preserveResourceParameters) |
AbstractInstallResourceTask(String resource,
String template,
boolean processed,
String version,
String source,
String rights,
boolean preserveResourceParameters,
boolean stripExtension) |
AbstractInstallResourceTask(String resource,
String version,
String source,
String rights,
boolean preserveResourceParameters,
boolean processed) |
Modifier and Type | Method and Description |
---|---|
void |
execute(info.magnolia.module.InstallContext installContext) |
protected String |
getProperty(String name) |
protected void |
setProperty(String name,
String value) |
protected final String resource
protected String template
protected String version
protected String source
protected String rights
protected javax.jcr.Node node
protected String name
protected String extension
protected boolean preserveResourceParameters
protected boolean processed
public AbstractInstallResourceTask(String resource, String version, String source, String rights, boolean preserveResourceParameters, boolean processed)
public AbstractInstallResourceTask(String resource, String template, boolean processed, String version, String source, String rights, boolean preserveResourceParameters)
public void execute(info.magnolia.module.InstallContext installContext) throws info.magnolia.module.delta.TaskExecutionException
info.magnolia.module.delta.TaskExecutionException
protected void setProperty(String name, String value) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2015 Magnolia International Ltd.. All rights reserved.