|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anwrt.anycontent.deploy.Deploy
Deployement bean
Reads/Write deploy.xml file.
| Method Summary | |
static void |
dispose()
Dispose this Deploy instance |
static Deploy |
getInstance()
Get the instance of deploy using the deploy file. |
java.lang.Boolean |
getValueAsBoolean(java.lang.String id)
Return the typed value as boolean |
java.util.Date |
getValueAsDate(java.lang.String id)
Return the typed value as Date |
java.lang.Double |
getValueAsDouble(java.lang.String id)
Return the typed value casted in double |
java.lang.Long |
getValueAsLong(java.lang.String id)
Return the typed value as long |
java.lang.String |
getValueAsString(java.lang.String id)
Return the typed value as String |
static java.util.Map |
read()
Read deploy file and get untyped values (String object) |
static void |
setFilename(java.lang.String filename)
Set the deploy filename |
static void |
setInitialized(boolean initialized)
Set the initialization status of the deployment |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Deploy getInstance()
java.lang.IllegalStateException - if the extension point 'deploy' is not setpublic static void dispose()
public static void setFilename(java.lang.String filename)
filename - Name with path of the deploy filepublic static void setInitialized(boolean initialized)
initialized - the initialization status of the deploymentpublic java.lang.String getValueAsString(java.lang.String id)
id - Id of the parameter to get
public java.util.Date getValueAsDate(java.lang.String id)
id - Id of the parameter to get
public java.lang.Long getValueAsLong(java.lang.String id)
id - Id of the parameter to get
public java.lang.Boolean getValueAsBoolean(java.lang.String id)
id - Id of the parameter to get
public java.lang.Double getValueAsDouble(java.lang.String id)
id - Id of the parameter to get
public static java.util.Map read()
throws java.lang.Exception
java.lang.Exception - if a problem occurs reading values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||