org.objectweb.jonas.webapp.jonasadmin.deploy
Class DomainDeployForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.objectweb.jonas.webapp.jonasadmin.deploy.DomainDeployForm
All Implemented Interfaces:
java.io.Serializable

public class DomainDeployForm
extends org.apache.struts.action.ActionForm

Author:
Patrick Smith Greg Lapouchnian
See Also:
Serialized Form

Field Summary
static java.lang.String DEPLOY
           
static java.lang.String UNDEPLOY
           
static java.lang.String UPLOAD
           
static java.lang.String UPLOADDEPLOY
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
DomainDeployForm()
           
 
Method Summary
 java.lang.String getDeploy()
           
 boolean getDeploymentInProgress()
           
 java.lang.String[] getDeploySelected()
           
 boolean getException()
           
 boolean getIsConfigurable()
          Return if the current deployment type is configurable.
 java.util.ArrayList getListDeploy()
           
 java.util.ArrayList getListDeployable()
           
 java.util.ArrayList getListTargetNames()
           
 java.util.ArrayList getListTargets()
           
 java.util.ArrayList getListTargetSelectedNames()
           
 java.util.ArrayList getListTargetsSelected()
           
 boolean getReplacementOption()
           
 boolean getReplaceOnTarget()
           
 java.util.Map getReports()
           
 java.lang.String getSelectedAction()
           
 java.lang.String getSelectedOption()
           
 java.lang.String[] getTargetSelected()
           
 boolean isAutoload()
           
 boolean isConfirm()
           
 boolean isDeploymentCompleted()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setAutoload(boolean autoload)
           
 void setConfirm(boolean confirm)
           
 void setDeploy(java.lang.String deploy)
           
 void setDeploymentCompleted(boolean deploymentCompleted)
           
 void setDeploymentInProgress(boolean deploymentInProgress)
           
 void setDeploySelected(java.lang.String[] deploySelected)
           
 void setException(boolean exception)
           
 void setIsConfigurable(boolean isConfigurable)
          Sets if the current deployment type is configurable.
 void setListDeploy(java.util.ArrayList listDeploy)
           
 void setListDeployable(java.util.ArrayList listDeployable)
           
 void setListTargetNames(java.util.ArrayList listTargetNames)
           
 void setListTargets(java.util.ArrayList listTargets)
           
 void setListTargetSelectedNames(java.util.ArrayList listTargetSelectedNames)
           
 void setListTargetsSelected(java.util.ArrayList listTargetsSelected)
           
 void setReplacementOption(boolean replacementOption)
           
 void setReplaceOnTarget(boolean replaceChecked)
           
 void setReports(java.util.Map reports)
           
 void setSelectedAction(java.lang.String selectedAction)
           
 void setSelectedOption(java.lang.String selectedOption)
           
 void setTargetSelected(java.lang.String[] serverSelected)
           
 java.lang.String toString()
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEPLOY

public static final java.lang.String DEPLOY
See Also:
Constant Field Values

UPLOAD

public static final java.lang.String UPLOAD
See Also:
Constant Field Values

UPLOADDEPLOY

public static final java.lang.String UPLOADDEPLOY
See Also:
Constant Field Values

UNDEPLOY

public static final java.lang.String UNDEPLOY
See Also:
Constant Field Values
Constructor Detail

DomainDeployForm

public DomainDeployForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values.

Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. If no errors are found, return null or an ActionErrors object with no recorded error messages.

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getListTargets

public java.util.ArrayList getListTargets()

setListTargets

public void setListTargets(java.util.ArrayList listTargets)

getListTargetNames

public java.util.ArrayList getListTargetNames()

setListTargetNames

public void setListTargetNames(java.util.ArrayList listTargetNames)

getReports

public java.util.Map getReports()

setReports

public void setReports(java.util.Map reports)

getListTargetsSelected

public java.util.ArrayList getListTargetsSelected()

setListTargetsSelected

public void setListTargetsSelected(java.util.ArrayList listTargetsSelected)

getListTargetSelectedNames

public java.util.ArrayList getListTargetSelectedNames()

setListTargetSelectedNames

public void setListTargetSelectedNames(java.util.ArrayList listTargetSelectedNames)

getListDeployable

public java.util.ArrayList getListDeployable()

setListDeployable

public void setListDeployable(java.util.ArrayList listDeployable)

getDeploySelected

public java.lang.String[] getDeploySelected()

setDeploySelected

public void setDeploySelected(java.lang.String[] deploySelected)

getTargetSelected

public java.lang.String[] getTargetSelected()

setTargetSelected

public void setTargetSelected(java.lang.String[] serverSelected)

getListDeploy

public java.util.ArrayList getListDeploy()

setListDeploy

public void setListDeploy(java.util.ArrayList listDeploy)

getDeploy

public java.lang.String getDeploy()

setDeploy

public void setDeploy(java.lang.String deploy)

isConfirm

public boolean isConfirm()

setConfirm

public void setConfirm(boolean confirm)

getDeploymentInProgress

public boolean getDeploymentInProgress()

setDeploymentInProgress

public void setDeploymentInProgress(boolean deploymentInProgress)

getSelectedOption

public java.lang.String getSelectedOption()

setSelectedOption

public void setSelectedOption(java.lang.String selectedOption)

getSelectedAction

public java.lang.String getSelectedAction()

setSelectedAction

public void setSelectedAction(java.lang.String selectedAction)

getReplaceOnTarget

public boolean getReplaceOnTarget()

setReplaceOnTarget

public void setReplaceOnTarget(boolean replaceChecked)

getReplacementOption

public boolean getReplacementOption()

setReplacementOption

public void setReplacementOption(boolean replacementOption)

getException

public boolean getException()

setException

public void setException(boolean exception)

getIsConfigurable

public boolean getIsConfigurable()
Return if the current deployment type is configurable.

Returns:
if the current deployment type is configurable.

setIsConfigurable

public void setIsConfigurable(boolean isConfigurable)
Sets if the current deployment type is configurable.

Parameters:
isDomain - if current deployment type is configurable.

isDeploymentCompleted

public boolean isDeploymentCompleted()

setDeploymentCompleted

public void setDeploymentCompleted(boolean deploymentCompleted)

isAutoload

public boolean isAutoload()

setAutoload

public void setAutoload(boolean autoload)