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) |
Modifier and Type | Method and Description |
---|---|
String |
getJarId(String jarName)
Deprecated.
|
static String |
getRelativeChildPath(String parent,
String child) |
ContainerDescriptor |
getRootContainer() |
void |
init() |
void |
init(File metadata,
File[] files) |
static void |
main(String[] args) |
void |
predeploy() |
static void |
process(File home,
File metadata,
File[] files)
Run preprocessing in the given home directory and using the given list of bundles.
|
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()
public void init() throws IOException
IOException
public void init(File metadata, File[] files) throws IOException
IOException
public void predeploy() throws IOException
IOException
public static void process(File home, File metadata, File[] files) throws IOException
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
.
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.