|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.deploy.Module
public class Module
Represent a deployment unit consisting of deployment declarative information (module name, uses and imports)
as well as EPL statements represented by ModuleItem
. May have an additional user object and archive name
and uri pointing to the module source attached.
The module URI gets initialized with the filename, resource or URL being read, however may be overridden and has not further meaning to the deployment.
The archive name and user object are opportunities to attach additional deployment information.
Constructor Summary | |
---|---|
Module(java.lang.String name,
java.lang.String uri,
java.util.Set<java.lang.String> uses,
java.util.Set<java.lang.String> imports,
java.util.List<ModuleItem> items,
java.lang.String moduleText)
Ctor. |
Method Summary | |
---|---|
java.lang.String |
getArchiveName()
Returns the name of the archive this module originated from, or null if not applicable. |
java.util.Set<java.lang.String> |
getImports()
Returns the imports defined by the module. |
java.util.List<ModuleItem> |
getItems()
Returns a list of statements (some may be comments only) that make up the module. |
java.lang.String |
getModuleText()
Returns module text. |
java.lang.String |
getName()
Returns the module name, if provided. |
java.lang.String |
getUri()
Returns the module URI if provided. |
java.lang.Object |
getUserObject()
Returns the optional user object that may be attached to the module. |
java.util.Set<java.lang.String> |
getUses()
Returns the dependencies the module may have on other modules. |
void |
setArchiveName(java.lang.String archiveName)
Set the name of the archive this module originated from, or null if not applicable. |
void |
setImports(java.util.Set<java.lang.String> imports)
Sets the imports defined by the module. |
void |
setItems(java.util.List<ModuleItem> items)
Sets a list of statements (some may be comments only) that make up the module. |
void |
setModuleText(java.lang.String moduleText)
Sets module text. |
void |
setName(java.lang.String name)
Sets the module name or null if none provided. |
void |
setUri(java.lang.String uri)
Sets the module URI or null if none provided. |
void |
setUserObject(java.lang.Object userObject)
Sets an optional user object that may be attached to the module. |
void |
setUses(java.util.Set<java.lang.String> uses)
Sets the dependencies the module may have on other modules. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Module(java.lang.String name, java.lang.String uri, java.util.Set<java.lang.String> uses, java.util.Set<java.lang.String> imports, java.util.List<ModuleItem> items, java.lang.String moduleText)
name
- module nameuri
- module uriuses
- names of modules that this module depends onimports
- the Java class importsitems
- EPL statementsmoduleText
- text of moduleMethod Detail |
---|
public java.lang.String getArchiveName()
public void setArchiveName(java.lang.String archiveName)
archiveName
- archive namepublic java.lang.Object getUserObject()
public void setUserObject(java.lang.Object userObject)
userObject
- user objectpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- module namepublic java.lang.String getUri()
public void setUri(java.lang.String uri)
uri
- of modulepublic java.util.Set<java.lang.String> getUses()
public void setUses(java.util.Set<java.lang.String> uses)
uses
- module dependenciespublic java.util.List<ModuleItem> getItems()
public void setItems(java.util.List<ModuleItem> items)
items
- statementspublic java.util.Set<java.lang.String> getImports()
public void setImports(java.util.Set<java.lang.String> imports)
imports
- module importspublic java.lang.String getModuleText()
public void setModuleText(java.lang.String moduleText)
moduleText
- text to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |