org.codehaus.mojo.cis.model
Class CisApplication

java.lang.Object
  extended by org.codehaus.mojo.cis.model.CisApplication

public class CisApplication
extends java.lang.Object

A bean for configuring a single CIS application.


Constructor Summary
CisApplication()
           
 
Method Summary
 java.io.File getAppWebXml()
          Returns the CIS applications web.xml, which is merged into the web applications web.xml.
 org.apache.maven.model.Dependency[] getDependencies()
          Returns the applications set of dependencies.
 java.lang.String getName()
          Returns the CIS applications name.
 java.lang.String[] getStartAppClasses()
          Returns the set of classes, which are being invoked when the application starts.
 java.io.File getXmlDir()
          Returns the applications xml directory.
 void setAppWebXml(java.io.File appWebXml)
          Sets the CIS applications web.xml, which is merged into the web applications web.xml.
 void setDependencies(org.apache.maven.model.Dependency[] dependencies)
          Returns the applications set of dependencies.
 void setName(java.lang.String name)
          Sets the CIS applications name.
 void setStartAppClasses(java.lang.String[] pClassNames)
          Sets the set of classes, which are being invoked when the application starts.
 void setXmlDir(java.io.File pXmlDir)
          Sets the applications xml directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CisApplication

public CisApplication()
Method Detail

getName

public java.lang.String getName()
Returns the CIS applications name.

Returns:
The applications name

setName

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

Parameters:
name - The applications name

getDependencies

public org.apache.maven.model.Dependency[] getDependencies()
Returns the applications set of dependencies. These are being copied to "appclasses/lib".

Returns:
Dependency list.

setDependencies

public void setDependencies(org.apache.maven.model.Dependency[] dependencies)
Returns the applications set of dependencies. These are being copied to "appclasses/lib".

Parameters:
dependencies - Dependency list.

getAppWebXml

public java.io.File getAppWebXml()
Returns the CIS applications web.xml, which is merged into the web applications web.xml.

Returns:
Location of the CIS applications "web.xml" file.

setAppWebXml

public void setAppWebXml(java.io.File appWebXml)
Sets the CIS applications web.xml, which is merged into the web applications web.xml.

Parameters:
appWebXml - Location of the CIS applications "web.xml" file.

getXmlDir

public java.io.File getXmlDir()
Returns the applications xml directory. Defaults to "src/main/cis//xml".

Returns:
The applications xml directory.

setXmlDir

public void setXmlDir(java.io.File pXmlDir)
Sets the applications xml directory. Defaults to "src/main/cis//xml".

Parameters:
xmlDir - The applications xml directory.

getStartAppClasses

public java.lang.String[] getStartAppClasses()
Returns the set of classes, which are being invoked when the application starts.

Parameters:
The - set of classes, which are being started with the application.

setStartAppClasses

public void setStartAppClasses(java.lang.String[] pClassNames)
Sets the set of classes, which are being invoked when the application starts.

Parameters:
The - set of classes, which are being started with the application.


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.