info.magnolia.module.resources.setup
Class InstallResourceTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.resources.setup.InstallResourceTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class InstallResourceTask
extends info.magnolia.module.delta.AbstractTask

Task to load single resource to the repository.

Version:
$Id$
Author:
pbracher

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
InstallResourceTask(String resource, String template)
          Deprecated. Use InstallResourceTask(String,String,boolean) instead.
InstallResourceTask(String resource, String template, boolean binary)
           
InstallResourceTask(String resource, String template, boolean binary, boolean preserveResourceParameters)
           
InstallResourceTask(String resource, String template, boolean binary, String modelClass)
           
InstallResourceTask(String resource, String template, boolean binary, String modelClass, boolean preserveResourceParameters)
           
InstallResourceTask(String resource, String template, boolean binary, String version, String source, String rights)
           
InstallResourceTask(String resource, String template, boolean binary, String version, String source, String rights, boolean preserveResourceParameters)
           
InstallResourceTask(String resource, String template, boolean binary, String version, String source, String rights, String modelClass)
           
InstallResourceTask(String resource, String template, boolean binary, String version, String source, String rights, String modelClass, boolean preserveResourceParameters)
           
InstallResourceTask(String resource, String template, String modelClass)
          Deprecated. Use InstallResourceTask(String,String,boolean,String) instead.
InstallResourceTask(String resource, String template, String version, String source, String rights)
          Deprecated. Use InstallResourceTask(String,String,boolean,String,String,String) instead.
InstallResourceTask(String resource, String template, String version, String source, String rights, String modelClass)
          Deprecated. Use InstallResourceTask(String, String, boolean, String, String, String, String) instead.
 
Method Summary
 void execute(info.magnolia.module.InstallContext installContext)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstallResourceTask

public InstallResourceTask(String resource,
                           String template)
Deprecated. Use InstallResourceTask(String,String,boolean) instead.


InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary)

InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary,
                           boolean preserveResourceParameters)

InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           String modelClass)
Deprecated. Use InstallResourceTask(String,String,boolean,String) instead.


InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary,
                           String modelClass)

InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary,
                           String modelClass,
                           boolean preserveResourceParameters)

InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           String version,
                           String source,
                           String rights)
Deprecated. Use InstallResourceTask(String,String,boolean,String,String,String) instead.


InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary,
                           String version,
                           String source,
                           String rights)

InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary,
                           String version,
                           String source,
                           String rights,
                           boolean preserveResourceParameters)

InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           String version,
                           String source,
                           String rights,
                           String modelClass)
Deprecated. Use InstallResourceTask(String, String, boolean, String, String, String, String) instead.


InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary,
                           String version,
                           String source,
                           String rights,
                           String modelClass)

InstallResourceTask

public InstallResourceTask(String resource,
                           String template,
                           boolean binary,
                           String version,
                           String source,
                           String rights,
                           String modelClass,
                           boolean preserveResourceParameters)
Method Detail

execute

public void execute(info.magnolia.module.InstallContext installContext)
             throws info.magnolia.module.delta.TaskExecutionException
Throws:
info.magnolia.module.delta.TaskExecutionException


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.