info.magnolia.module.delta
Class BootstrapSingleResource

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.BootstrapResourcesTask
          extended by info.magnolia.module.delta.BootstrapSingleResource
All Implemented Interfaces:
Task

public class BootstrapSingleResource
extends BootstrapResourcesTask

A Task which bootstraps a single file. If this file is located in the default dir ("/mgnl-bootstrap/") or in a subdir of it, you should use BootstrapSingleModuleResource instead.

Version:
$Id$

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
BootstrapSingleResource(String name, String description, String resource)
           
BootstrapSingleResource(String name, String description, String resource, int importUUIDBehavior)
           
 
Method Summary
protected  String[] getResourcesToBootstrap(InstallContext installContext)
          Override this method to bootstrap specific resource files.
 
Methods inherited from class info.magnolia.module.delta.BootstrapResourcesTask
acceptResource, execute
 
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

BootstrapSingleResource

public BootstrapSingleResource(String name,
                               String description,
                               String resource)

BootstrapSingleResource

public BootstrapSingleResource(String name,
                               String description,
                               String resource,
                               int importUUIDBehavior)
Method Detail

getResourcesToBootstrap

protected String[] getResourcesToBootstrap(InstallContext installContext)
Description copied from class: BootstrapResourcesTask
Override this method to bootstrap specific resource files.

Overrides:
getResourcesToBootstrap in class BootstrapResourcesTask


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.