com.caucho.j2ee.deployserver
Class DeploymentPlan

java.lang.Object
  extended by com.caucho.j2ee.deployserver.DeploymentPlan

public class DeploymentPlan
extends java.lang.Object

Plan for the deployment.


Nested Class Summary
 class DeploymentPlan.ExtFile
           
 class DeploymentPlan.PlanFile
           
 class DeploymentPlan.RawFile
           
 
Constructor Summary
DeploymentPlan()
           
 
Method Summary
 void addExtFile(DeploymentPlan.ExtFile extFile)
           
 void addRawFile(DeploymentPlan.RawFile rawFile)
           
 DeploymentPlan.ExtFile createExtFile()
          An ExtFile is an Xml file that is written into the META-INF (or WEB-INF for a war) * directory.
 DeploymentPlan.RawFile createRawFile()
          A RawFile is any format file that is written into a file specified by the path, relative to the root of the deployed archive.
 java.lang.String getArchiveType()
          Gets the deployment type.
 java.util.ArrayList<DeploymentPlan.PlanFile> getFileList()
          Returns the list of ext and raw files.
 java.lang.String getName()
          Gets the name
 void init()
           
 void setArchiveType(java.lang.String type)
          Sets the deployment type.
 void setName(java.lang.String name)
          Sets the name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentPlan

public DeploymentPlan()
Method Detail

setArchiveType

public void setArchiveType(java.lang.String type)
                    throws ConfigException
Sets the deployment type.

Throws:
ConfigException

getArchiveType

public java.lang.String getArchiveType()
Gets the deployment type.


setName

public void setName(java.lang.String name)
Sets the name


getName

public java.lang.String getName()
Gets the name


init

@PostConstruct
public void init()

createExtFile

public DeploymentPlan.ExtFile createExtFile()
An ExtFile is an Xml file that is written into the META-INF (or WEB-INF for a war) * directory.


addExtFile

public void addExtFile(DeploymentPlan.ExtFile extFile)

createRawFile

public DeploymentPlan.RawFile createRawFile()
A RawFile is any format file that is written into a file specified by the path, relative to the root of the deployed archive.


addRawFile

public void addRawFile(DeploymentPlan.RawFile rawFile)

getFileList

public java.util.ArrayList<DeploymentPlan.PlanFile> getFileList()
Returns the list of ext and raw files.