Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.jboss.deployer.structure
Class DeploymentStructure

java.lang.Object
  extended by org.nuxeo.runtime.jboss.deployer.structure.DeploymentStructure

public class DeploymentStructure
extends Object

Author:
Bogdan Stefanescu

Nested Class Summary
static class DeploymentStructure.Context
           
 
Constructor Summary
DeploymentStructure(org.jboss.virtual.VirtualFile vhome)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentStructure

public DeploymentStructure(org.jboss.virtual.VirtualFile vhome)
Method Detail

initialize

public void initialize(long lastModified)
                throws Exception
Must be called immediately after the deployment structure was created (before using the object).

The lastModified is optional - if you don't need it you must specify a value of 0.

Throws:
Exception

getProperties

public Map<String,String> getProperties()

setProperties

public void setProperties(Map<String,String> properties)

setProperty

public void setProperty(String key,
                        String value)

getProperty

public String getProperty(String key,
                          String defValue)

getProperty

public String getProperty(String key)

expandProperty

public String expandProperty(String key,
                             String defaultValue)
Get the property value given a key. Any variable present in the value will be expanded against the system properties.


addContext

public void addContext(DeploymentStructure.Context ctx)

getContexts

public List<DeploymentStructure.Context> getContexts()

getResolvedBundles

public String[] getResolvedBundles()
                            throws IOException
Throws:
IOException

getResolvedBundleFiles

public File[] getResolvedBundleFiles()
                              throws IOException
Throws:
IOException

getHome

public File getHome()

getVirtualHome

public org.jboss.virtual.VirtualFile getVirtualHome()

setBundles

public void setBundles(String... bundles)

getBundles

public String[] getBundles()

setRequirePreprocessing

public void setRequirePreprocessing(boolean requirePreprocessing)

setPreprocessorClassPath

public void setPreprocessorClassPath(String[] preprocessorClassPath)

getPreprocessorClassPath

public String[] getPreprocessorClassPath()

isRequirePreprocessing

public boolean isRequirePreprocessing()

setChildren

public void setChildren(String... children)

getChildren

public String[] getChildren()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.