or @link InstallTextResourcesTask
instead.public class InstallResourcesTask
extends info.magnolia.module.delta.ArrayDelegateTask
Modifier and Type | Field and Description |
---|---|
protected String |
pattern
Deprecated.
|
protected String |
template
Deprecated.
|
Constructor and Description |
---|
InstallResourcesTask(String pattern,
String template)
Deprecated.
Use
InstallResourcesTask(String, String, boolean) instead. |
InstallResourcesTask(String pattern,
String template,
boolean binary)
Deprecated.
|
InstallResourcesTask(String pattern,
String template,
boolean binary,
boolean preserveResourcesParameters)
Deprecated.
|
InstallResourcesTask(String pattern,
String template,
boolean binary,
String modelClass)
Deprecated.
|
InstallResourcesTask(String pattern,
String template,
boolean binary,
String modelClass,
boolean preserveTemplate)
Deprecated.
|
InstallResourcesTask(String pattern,
String template,
String modelClass)
Deprecated.
|
InstallResourcesTask(String taskName,
String taskDescription,
String pattern,
String template,
boolean binary,
String modelClass)
Deprecated.
|
InstallResourcesTask(String taskName,
String taskDescription,
String pattern,
String template,
boolean binary,
String modelClass,
boolean preserveResourcesParameters)
Deprecated.
|
InstallResourcesTask(String taskName,
String taskDescription,
String pattern,
String template,
String modelClass)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
determineTemplate(String resource)
Deprecated.
If no template has been defined the file extension is used.
|
void |
execute(info.magnolia.module.InstallContext ctx)
Deprecated.
|
protected String[] |
findResources()
Deprecated.
|
protected String pattern
protected String template
public InstallResourcesTask(String pattern, String template)
InstallResourcesTask(String, String, boolean)
instead.public InstallResourcesTask(String pattern, String template, boolean binary)
public InstallResourcesTask(String pattern, String template, boolean binary, boolean preserveResourcesParameters)
public InstallResourcesTask(String pattern, String template, String modelClass)
InstallResourcesTask(String, String, boolean, String)
instead.public InstallResourcesTask(String pattern, String template, boolean binary, String modelClass)
public InstallResourcesTask(String pattern, String template, boolean binary, String modelClass, boolean preserveTemplate)
public InstallResourcesTask(String taskName, String taskDescription, String pattern, String template, String modelClass)
InstallResourcesTask(String, String, String, String, boolean, String)
instead.public InstallResourcesTask(String taskName, String taskDescription, String pattern, String template, boolean binary, String modelClass)
public void execute(info.magnolia.module.InstallContext ctx) throws info.magnolia.module.delta.TaskExecutionException
execute
in interface info.magnolia.module.delta.Task
execute
in class info.magnolia.module.delta.ArrayDelegateTask
info.magnolia.module.delta.TaskExecutionException
protected String determineTemplate(String resource)
protected String[] findResources()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.