📄 web_app_element.java
字号:
//// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//////// Web_App_Element//// NK 29.01.2001////package org.jahia.services.webapps_deployer.orion;import java.io.*;import java.util.*;import org.jahia.exceptions.*;/** * Holds Informations about the <web-app> element in orion default-web-site.xml file * * * @author Khue ng * @version 1.0 */ public class Web_App_Element { /** The application attribute **/ private String m_Application; /** The root attribute **/ private String m_Root; /** The name attribute **/ private String m_Name; /** The load-on-startup attribute **/ private String m_LoadOnStartup; /** The shared attribute **/ private String m_Shared; /** The max-inactivity-time attribute **/ private String m_MaxInactivityTime; /** * Constructor * */ public Web_App_Element( String application, String root, String name, String loadOnStartup, String shared, String maxInactivityTime ){ m_Application = application; m_Root = root; m_Name = name; m_LoadOnStartup = loadOnStartup; m_Shared = shared; m_MaxInactivityTime = maxInactivityTime; } /** * Return the Application Att. * * @return (String) the Application Att. */ public String getApplication(){ return m_Application; } /** * Set the Application Att. * * @param (String) the Application Att. */ public void setApplication(String application){ m_Application = application; } /** * Return the Root Att. * * @return (String) the Root Att. */ public String getRoot(){ return m_Root; } /** * Set the Root Att. * * @param (String) the Root Att. */ public void setRoot(String root){ m_Root = root; } /** * Return the Name Att. * * @return (String) the Name Att. */ public String getName(){ return m_Name; } /** * Set the Name Att. * * @param (String) the Name Att. */ public void setName(String value){ m_Name = value; } /** * Set the load-on-startup Att. * * @param (String) the value. */ public void setLoadOnStartup(String value){ m_LoadOnStartup = value; } /** * Return the load-on-startup value * * @return (String) load-on-startup */ public String getLoadOnStartup(){ return m_LoadOnStartup; } /** * Return the Shared Att. * * @return (String) the Shared */ public String getShared(){ return m_Shared; } /** * Set the Shared Att. * * @param (String) the Shared Att. */ public void setShared(String shared){ m_Shared = shared; } /** * Return the Max-Inactivity-Time * * @return (String) Max-Inactivity-Time */ public String getMaxInactivityTime(){ return m_MaxInactivityTime; } /** * Set the Max-Inactivity-Time Att. * * @param (String) the Max-Inactivity-Time Att. */ public void setMaxInactivityTime(String maxInactivityTime){ m_MaxInactivityTime = maxInactivityTime; } } // end Web_App_Element
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -