public class DeploymentPreprocessor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTAINER_FILE |
static String |
CONTAINER_FILE_COMPAT |
static String |
FRAGMENT_FILE |
| Constructor and Description |
|---|
DeploymentPreprocessor(File dir) |
public static final String FRAGMENT_FILE
public static final String CONTAINER_FILE
public static final String CONTAINER_FILE_COMPAT
public DeploymentPreprocessor(File dir)
@Deprecated public String getJarId(String jarName)
public ContainerDescriptor getRootContainer()
protected void init(ContainerDescriptor cd) throws Exception
Exceptionprotected void initContextProperties(CommandContext ctx)
protected void processFile(ContainerDescriptor cd, File file) throws Exception
Exceptionprotected void init(ContainerDescriptor cd, File[] files) throws Exception
Exceptionprotected void init(ContainerDescriptor cd, File dir) throws Exception
Exceptionprotected static String listFragmentDescriptor(FragmentDescriptor fd)
protected static void printInfo(FragmentRegistry fragments)
protected static void predeploy(ContainerDescriptor cd) throws Exception
Exceptionprotected FragmentDescriptor getXMLFragment(File file) throws Exception
Exceptionprotected void collectXMLFragments(ContainerDescriptor cd, File file) throws Exception
Exceptionprotected void processBundleForCompat(FragmentDescriptor fd, File file)
protected FragmentDescriptor getDirectoryFragment(File directory) throws Exception
Exceptionprotected FragmentDescriptor getJARFragment(File file) throws Exception
Exceptionprotected void processManifest(FragmentDescriptor fd, String fileName, Manifest mf)
protected ContainerDescriptor getContainer(File home, File file) throws Exception
Exceptionprotected ContainerDescriptor getDefaultContainer(File directory) throws Exception
Exceptionpublic static void process(File home, File metadata, File[] files) throws Exception
The metadata file is the metadat file to be used to configure the
processor. If null the default location will be used (relative to home):
CONTAINER_FILE.
Exceptionpublic static void main(String[] args)
Copyright © 2019 Nuxeo SA. All rights reserved.