public class DeploymentStructure extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DeploymentStructure.Context |
Constructor and Description |
---|
DeploymentStructure(org.jboss.virtual.VirtualFile vhome) |
Modifier and Type | Method and Description |
---|---|
void |
addContext(DeploymentStructure.Context ctx) |
String |
expandProperty(String key,
String defaultValue)
Get the property value given a key.
|
String[] |
getBundles() |
String[] |
getChildren() |
List<DeploymentStructure.Context> |
getContexts() |
File |
getHome() |
String[] |
getPreprocessorClassPath() |
Map<String,String> |
getProperties() |
String |
getProperty(String key) |
String |
getProperty(String key,
String defValue) |
File[] |
getResolvedBundleFiles() |
String[] |
getResolvedBundles() |
org.jboss.virtual.VirtualFile |
getVirtualHome() |
void |
initialize(long lastModified)
Must be called immediately after the deployment structure was created
(before using the object).
|
boolean |
isRequirePreprocessing() |
void |
setBundles(String... bundles) |
void |
setChildren(String... children) |
void |
setPreprocessorClassPath(String[] preprocessorClassPath) |
void |
setProperties(Map<String,String> properties) |
void |
setProperty(String key,
String value) |
void |
setRequirePreprocessing(boolean requirePreprocessing) |
public DeploymentStructure(org.jboss.virtual.VirtualFile vhome)
public void initialize(long lastModified) throws Exception
The lastModified is optional - if you don't need it you must specify a value of 0.
Exception
public String expandProperty(String key, String defaultValue)
public void addContext(DeploymentStructure.Context ctx)
public List<DeploymentStructure.Context> getContexts()
public String[] getResolvedBundles() throws IOException
IOException
public File[] getResolvedBundleFiles() throws IOException
IOException
public File getHome()
public org.jboss.virtual.VirtualFile getVirtualHome()
public void setBundles(String... bundles)
public String[] getBundles()
public void setRequirePreprocessing(boolean requirePreprocessing)
public void setPreprocessorClassPath(String[] preprocessorClassPath)
public String[] getPreprocessorClassPath()
public boolean isRequirePreprocessing()
public void setChildren(String... children)
public String[] getChildren()
Copyright © 2011 Nuxeo SA. All Rights Reserved.