org.nuxeo.runtime.deployment.preprocessor
Class DeploymentPreprocessor
java.lang.Object
org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor
public class DeploymentPreprocessor
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Method Summary |
java.lang.String |
getJarId(java.lang.String jarName)
Deprecated. |
static java.lang.String |
getRelativeChildPath(java.lang.String parent,
java.lang.String child)
|
ContainerDescriptor |
getRootContainer()
|
void |
init()
|
void |
init(java.io.File metadata,
java.io.File[] files)
|
static void |
main(java.lang.String[] args)
|
void |
predeploy()
|
static void |
process(java.io.File home,
java.io.File metadata,
java.io.File[] files)
Run preprocessing in the given home directory and using the given list of
bundles. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FRAGMENT_FILE
public static final java.lang.String FRAGMENT_FILE
- See Also:
- Constant Field Values
CONTAINER_FILE
public static final java.lang.String CONTAINER_FILE
- See Also:
- Constant Field Values
CONTAINER_FILE_COMPAT
public static final java.lang.String CONTAINER_FILE_COMPAT
- See Also:
- Constant Field Values
DeploymentPreprocessor
public DeploymentPreprocessor(java.io.File dir)
getJarId
@Deprecated
public java.lang.String getJarId(java.lang.String jarName)
- Deprecated.
getRootContainer
public ContainerDescriptor getRootContainer()
init
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
init
public void init(java.io.File metadata,
java.io.File[] files)
throws java.lang.Exception
- Throws:
java.lang.Exception
predeploy
public void predeploy()
throws java.lang.Exception
- Throws:
java.lang.Exception
getRelativeChildPath
public static java.lang.String getRelativeChildPath(java.lang.String parent,
java.lang.String child)
process
public static void process(java.io.File home,
java.io.File metadata,
java.io.File[] files)
throws java.lang.Exception
- Run preprocessing in the given home directory and using the given list of
bundles. Bundles must be ordered by the caller to have same deployment
order on all computers.
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
.
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.