public class BootstrapSingleResource extends BootstrapResourcesTask
If this file is located in the default dir ("/mgnl-bootstrap/<yourModuleName>
") or in a sub
directory of it, you should use BootstrapSingleModuleResource
instead.
DO_NOTHING, log
Constructor and Description |
---|
BootstrapSingleResource(String name,
String description,
String resource) |
BootstrapSingleResource(String name,
String description,
String resource,
int importUUIDBehavior) |
BootstrapSingleResource(String name,
String description,
String resource,
String subPath) |
BootstrapSingleResource(String name,
String description,
String resource,
String subPath,
int importUUIDBehavior) |
Modifier and Type | Method and Description |
---|---|
protected void |
bootstrap(InstallContext installContext,
int importUUIDBehavior) |
protected String[] |
getResourcesToBootstrap(InstallContext installContext)
Override this method to bootstrap specific resource files.
|
acceptResource, execute
getDescription, getName, toString
public BootstrapSingleResource(String name, String description, String resource)
public BootstrapSingleResource(String name, String description, String resource, int importUUIDBehavior)
public BootstrapSingleResource(String name, String description, String resource, String subPath)
protected void bootstrap(InstallContext installContext, int importUUIDBehavior) throws IOException, javax.jcr.RepositoryException
bootstrap
in class BootstrapResourcesTask
IOException
javax.jcr.RepositoryException
protected String[] getResourcesToBootstrap(InstallContext installContext)
BootstrapResourcesTask
getResourcesToBootstrap
in class BootstrapResourcesTask
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.