com.intellij.j2ee.deployment
Class DeploymentModel

java.lang.Object
  extended by com.intellij.j2ee.deployment.DeploymentModel
All Implemented Interfaces:
JDOMExternalizable, java.lang.Cloneable

public abstract class DeploymentModel
extends java.lang.Object
implements JDOMExternalizable, java.lang.Cloneable


Field Summary
 boolean DEPLOY
           
protected  J2EEModuleProperties J2EE_MODULE_PROPERTIES
           
 java.lang.String MODULE_NAME
           
 
Constructor Summary
protected DeploymentModel(CommonModel parentConfiguration, J2EEModuleProperties moduleProperties)
           
 
Method Summary
 DeploymentModel createCopy(CommonModel parent)
           
 DeploymentMethod[] getAvailableMethods()
           
 CommonModel getCommonModel()
           
 DeploymentMethod getDeploymentMethod()
           
 DeploymentSource getDeploymentSource()
           
 J2EEModuleProperties getModuleProperties()
           
 ServerModel getServerModel()
           
 boolean isValid()
           
 void readExternal(org.jdom.Element element)
           
 void setDeploymentMethod(DeploymentMethod deploymentMethod)
           
 void setDeploymentSource(DeploymentSource deploymentSource)
           
 void setModuleProperties(J2EEModuleProperties moduleProperties)
           
 void writeExternal(org.jdom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_NAME

public java.lang.String MODULE_NAME

J2EE_MODULE_PROPERTIES

protected J2EEModuleProperties J2EE_MODULE_PROPERTIES

DEPLOY

public boolean DEPLOY
Constructor Detail

DeploymentModel

protected DeploymentModel(CommonModel parentConfiguration,
                          J2EEModuleProperties moduleProperties)
Method Detail

getAvailableMethods

public DeploymentMethod[] getAvailableMethods()

getModuleProperties

public J2EEModuleProperties getModuleProperties()

setModuleProperties

public void setModuleProperties(J2EEModuleProperties moduleProperties)

readExternal

public void readExternal(org.jdom.Element element)
                  throws InvalidDataException
Specified by:
readExternal in interface JDOMExternalizable
Throws:
InvalidDataException

isValid

public boolean isValid()

writeExternal

public void writeExternal(org.jdom.Element element)
                   throws WriteExternalException
Specified by:
writeExternal in interface JDOMExternalizable
Throws:
WriteExternalException

getDeploymentMethod

public DeploymentMethod getDeploymentMethod()

setDeploymentMethod

public void setDeploymentMethod(DeploymentMethod deploymentMethod)

getCommonModel

public CommonModel getCommonModel()

getServerModel

public ServerModel getServerModel()

createCopy

public DeploymentModel createCopy(CommonModel parent)

setDeploymentSource

public void setDeploymentSource(DeploymentSource deploymentSource)

getDeploymentSource

public DeploymentSource getDeploymentSource()