org.jahia.services.webapps_deployer.orion
Class Application_Element

java.lang.Object
  extended by org.jahia.services.webapps_deployer.orion.Application_Element

public class Application_Element
extends java.lang.Object

Holds Informations about the <application> element in server.xml file <application-server . . <application name="Bookmark" path="../applications/Bookmark.ear" /> <application name="Jahia" path="../applications/Jahia.ear" /> . .

Version:
1.0
Author:
Khue ng

Constructor Summary
Application_Element(java.lang.String name, java.lang.String path, java.lang.String deployDir, java.lang.String parent, java.lang.String autoStart)
          Constructor
 
Method Summary
 java.lang.String getAutoStart()
          Return the Auto-Start Attribute
 java.lang.String getDeployDir()
          Return the Deployment-Dir
 java.lang.String getName()
          Return the Name
 java.lang.String getParent()
          Return the Parent
 java.lang.String getPath()
          Return the Path to the .ear file
 void setAutoStart(java.lang.String autoStart)
          Set the AutoStart attribut
 void setDeployDir(java.lang.String deployDir)
          Set the Deploy-Dir
 void setName(java.lang.String name)
          Set the Name
 void setParent(java.lang.String parent)
          Set the Parent
 void setPath(java.lang.String path)
          Set the Path to the .ear file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Application_Element

public Application_Element(java.lang.String name,
                           java.lang.String path,
                           java.lang.String deployDir,
                           java.lang.String parent,
                           java.lang.String autoStart)
Constructor

Method Detail

getName

public java.lang.String getName()
Return the Name

Returns:
(String) the Application Name

setName

public void setName(java.lang.String name)
Set the Name

Parameters:
(String) - the Name

getPath

public java.lang.String getPath()
Return the Path to the .ear file

Returns:
(String) the Path to the ear file

setPath

public void setPath(java.lang.String path)
Set the Path to the .ear file

Parameters:
(String) - the .ear file path

getDeployDir

public java.lang.String getDeployDir()
Return the Deployment-Dir

Returns:
(String) the Deploy dir

setDeployDir

public void setDeployDir(java.lang.String deployDir)
Set the Deploy-Dir

Parameters:
(String) - the Deploy-Dir

getParent

public java.lang.String getParent()
Return the Parent

Returns:
(String) the Parent

setParent

public void setParent(java.lang.String parent)
Set the Parent

Parameters:
(String) - the parent

getAutoStart

public java.lang.String getAutoStart()
Return the Auto-Start Attribute

Returns:
(String) Auto-Start

setAutoStart

public void setAutoStart(java.lang.String autoStart)
Set the AutoStart attribut

Parameters:
(String) - AutoStart


Copyright © 1999-2008 Jahia Ltd. All Rights Reserved.